Backport of the selectors module from Python 3.4.
Project description
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:
- PyPI:
- Issue tracker:
https://bugs.python.org/ (upstream)
- Issue tracker:
- Supported versions:
Python 2.6, 2.7 and 3.3
- License:
Python Software Foundation License
- Build status:
Release management
Bump version number in setup.py
Update CHANGELOG.rst
Run tests via tox
Install requirements to make a release: pip install -r requirements-dev.txt
Make a new release on the PyPI test server: make test-release
Create a tag: git tag X.Y.X
Make the actual release: make release
Changelog
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 EpollSelecrtor.select() works when no FD is registered. (Backported by Victor Stinner.)
1.0 (released on 2015-02-05)
Initial release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file selectors34-1.1.tar.gz
.
File metadata
- Download URL: selectors34-1.1.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84b3743b9046461aebbcd13c15e79ab91e79acfb6e030b54a0ec6360ae0bbc52 |
|
MD5 | 403194b10f35a5258e0642712fdd3753 |
|
BLAKE2b-256 | e48edc408503b9162c9e98298754a45a695b17c8065cd1131b35adf5160630e6 |
File details
Details for the file selectors34-1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: selectors34-1.1-py2.py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 174cf6365f226232df307f97259448fde01b7b6924dc5f58fa39d772fe4ad4be |
|
MD5 | 0455183b2ae2a0c9f027c25252dd4eb3 |
|
BLAKE2b-256 | 189b2689b3ed34a13411c55a2d6171e84362a41c8688374a79efbd6f788fd396 |