gevent v20.6.0 Release Notes
Release Date: 2020-06-06 // almost 4 years ago-
๐ Features
- โ Add
gevent.selectors
containingGeventSelector
. This selector implementation uses gevent details to attempt to reduce overhead when polling many file descriptors, only some of which become ready at any given time.
This is monkey-patched as
selectors.DefaultSelector
by default.This is available on Python 2 if the
selectors2
backport is installed. (This backport is installed automatically using therecommended
extra.) When monkey-patching,selectors
is made available as an alias to this module. See :issue:1532
.- Depend on greenlet >= 0.4.16. This is required for CPython 3.9 and 3.10a0.
See :issue:
1627
. - โ Add support for Python 3.9.
No binary wheels are available yet, however. See :issue:
1628
.๐ Bugfixes
gevent.socket.create_connection
andgevent.socket.socket.connect
no longer ignore IPv6 scope IDs.
Any IP address (IPv4 or IPv6) is no longer subject to an extra call to
getaddrinfo
. Depending on the resolver in use, this is likely to change the number and order of greenlet switches. (On Windows, in particular test cases when there are no other greenlets running, it has been observed to lead toLoopExit
in scenarios that didn't produce that before.) See :issue:1634
.
- โ Add