New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

selectors34

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

selectors34

Backport of the selectors module from Python 3.4.

  • 1.2
  • PyPI
  • Socket score

Maintainers
1

=========== selectors34

selectors34 is a backport of the selectors module from Python 3.4. The selectors module written by Charles-François Natali. This port is based on Victor Stinner's trollius/selectors.py port.

Installation and Usage

To install selectors34 via pip::

$ pip install selectors34

For best compatibility for Python 3.4, import selectors34 like::

try:
    import selectors
except ImportError:
    import selectors34 as selectors

Project Details

:Documentation: https://docs.python.org/3/library/selectors.html :PyPI: https://pypi.python.org/pypi/selectors34 :Issue tracker: https://bugs.python.org/ (upstream) :Issue tracker: https://github.com/berkerpeksag/selectors34/issues :Supported versions: Python 2.6, 2.7 and 3.3 :License: Python Software Foundation License :Build status: .. image:: https://travis-ci.org/berkerpeksag/selectors34.svg?branch=master :target: https://travis-ci.org/berkerpeksag/selectors34

Changelog

1.2 (released on 2017-06-06)

  • Pull request #3: wrap_error() compatibility layer for PEP 3151 has been removed. (Patch written by Victor Stinner.)
  • Pull request #4: Fix TypeError when select.select() is monkeypatched by Gevent. Note that this is no longer an issue with the stdlib selectors module on Gevent 1.1 and later. (Patch written by Przemysław Węgrzyn.)
  • Pull request #7: Fix a memory leak when GC is disabled. (Patch written by Max Baryshnikov.)

1.1 (released on 2015-07-15)

  • Issues #23209, #23225: selectors.BaseSelector.get_key() now raises a RuntimeError if the selector is closed. And selectors.BaseSelector.close() now clears its internal reference to the selector mapping to break a reference cycle. (Initial patch written by Martin Richard and backported by Victor Stinner.)
  • Issues #23209, #23225: selectors.BaseSelector.close() now clears its internal reference to the selector mapping to break a reference cycle. (Initial patch written by Martin Richard and backported by Victor Stinner.)
  • Issue #23009: Make sure selectors.EpollSelector.select() works when no FD is registered. (Backported by Victor Stinner.)

1.0 (released on 2015-02-05)

  • Initial release.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc