METADATA 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. Metadata-Version: 2.0
  2. Name: selectors34
  3. Version: 1.1
  4. Summary: Backport of the selectors module from Python 3.4.
  5. Home-page: https://github.com/berkerpeksag/selectors34
  6. Author: Berker Peksag
  7. Author-email: berker.peksag@gmail.com
  8. License: Python Software Foundation License
  9. Platform: UNKNOWN
  10. Classifier: Programming Language :: Python :: 2
  11. Classifier: Programming Language :: Python :: 2.6
  12. Classifier: Programming Language :: Python :: 2.7
  13. Classifier: Programming Language :: Python :: 3
  14. Classifier: Programming Language :: Python :: 3.3
  15. Classifier: License :: OSI Approved :: Python Software Foundation License
  16. Requires-Dist: six
  17. ===========
  18. selectors34
  19. ===========
  20. *selectors34* is a backport of the selectors module from Python 3.4. The
  21. selectors module written by Charles-François Natali. This port is based on
  22. Victor Stinner's ``trollius/selectors.py`` port.
  23. Installation and Usage
  24. ----------------------
  25. To install *selectors34* via pip::
  26. $ pip install selectors34
  27. For best compatibility for Python 3.4, import *selectors34* like::
  28. try:
  29. import selectors
  30. except ImportError:
  31. import selectors34 as selectors
  32. Project Details
  33. ---------------
  34. :Documentation: https://docs.python.org/3/library/selectors.html
  35. :PyPI: https://pypi.python.org/pypi/selectors34
  36. :Issue tracker: https://bugs.python.org/ (upstream)
  37. :Issue tracker: https://github.com/berkerpeksag/selectors34/issues
  38. :Supported versions: Python 2.6, 2.7 and 3.3
  39. :License: Python Software Foundation License
  40. :Build status:
  41. .. image:: https://travis-ci.org/berkerpeksag/selectors34.svg?branch=master
  42. :target: https://travis-ci.org/berkerpeksag/selectors34
  43. Release management
  44. ------------------
  45. #. Bump version number in ``setup.py``
  46. #. Update ``CHANGELOG.rst``
  47. #. Run tests via ``tox``
  48. #. Install requirements to make a release: ``pip install -r requirements-dev.txt``
  49. #. Make a new release on the PyPI test server: ``make test-release``
  50. #. Create a tag: ``git tag X.Y.X``
  51. #. Make the actual release: ``make release``
  52. Changelog
  53. =========
  54. 1.1 (released on 2015-07-15)
  55. ----------------------------
  56. * Issues #23209, #23225: ``selectors.BaseSelector.get_key()`` now raises a
  57. ``RuntimeError`` if the selector is closed. And
  58. ``selectors.BaseSelector.close()`` now clears its internal reference to the
  59. selector mapping to break a reference cycle.
  60. (Initial patch written by Martin Richard and backported by Victor Stinner.)
  61. * Issues #23209, #23225: ``selectors.BaseSelector.close()`` now clears its
  62. internal reference to the selector mapping to break a reference cycle.
  63. (Initial patch written by Martin Richard and backported by Victor Stinner.)
  64. * Issue #23009: Make sure ``EpollSelecrtor.select()`` works when no FD is
  65. registered.
  66. (Backported by Victor Stinner.)
  67. 1.0 (released on 2015-02-05)
  68. ----------------------------
  69. * Initial release.