1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- Metadata-Version: 2.0
- Name: selectors34
- Version: 1.1
- Summary: Backport of the selectors module from Python 3.4.
- Home-page: https://github.com/berkerpeksag/selectors34
- Author: Berker Peksag
- Author-email: berker.peksag@gmail.com
- License: Python Software Foundation License
- Platform: UNKNOWN
- Classifier: Programming Language :: Python :: 2
- Classifier: Programming Language :: Python :: 2.6
- Classifier: Programming Language :: Python :: 2.7
- Classifier: Programming Language :: Python :: 3
- Classifier: Programming Language :: Python :: 3.3
- Classifier: License :: OSI Approved :: Python Software Foundation License
- Requires-Dist: six
- ===========
- 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
- 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.
|