Skip to main content

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:
https://travis-ci.org/berkerpeksag/selectors34.svg?branch=master

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.

Release files for selectors34 1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for selectors34 1.2
File Size Uploaded
selectors34-1.2.tar.gz 10.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for selectors34 1.2
File Interpreter ABI Platform
selectors34-1.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 18.3 kB

Release files / selectors34-1.2.tar.gz

Download URL selectors34-1.2.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
09f5066337f8a76fb5233f267873f89a27a17c10bf79575954894bb71686451c
BLAKE2b-256 checksum
How to use checksums
7a5efb5491a0295ee9d018d046ecffc30cec26075cb925f35bd24d40036aa95a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / selectors34-1.2-py2.py3-none-any.whl

Download URL selectors34-1.2-py2.py3-none-any.whl
Size 8.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
b8906fa8cd794fa1de5c8c7ccf8937d4d6a1d2937acc525594e5c6d04508d22d
BLAKE2b-256 checksum
How to use checksums
13254f4fa70ab23ad6263fe59cedf9dcd3ef71aa7f99c556c5e4c6435829e22d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.2 This release

2 release files

1.1

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page