/selectors34

Backport of the selectors module from Python 3.4

Primary LanguagePython

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

Release management

  1. Bump version number in setup.py
  2. Update CHANGELOG.rst
  3. Run tests via tox
  4. Install requirements to make a release: pip install -r requirements-dev.txt
  5. Make a new release on the PyPI test server: make test-release
  6. Create a tag: git tag X.Y.X
  7. Make the actual release: make release