Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
1be1d002
Commit
1be1d002
authored
Jun 06, 2020
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Preparing release 20.6.0
parent
0a538795
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
53 additions
and
32 deletions
+53
-32
CHANGES.rst
CHANGES.rst
+45
-0
docs/changes/1532.feature
docs/changes/1532.feature
+0
-11
docs/changes/1627.feature
docs/changes/1627.feature
+0
-1
docs/changes/1628.feature
docs/changes/1628.feature
+0
-3
docs/changes/1634.bugfix
docs/changes/1634.bugfix
+0
-9
src/gevent/__init__.py
src/gevent/__init__.py
+1
-1
src/gevent/_socket2.py
src/gevent/_socket2.py
+1
-1
src/gevent/_socket3.py
src/gevent/_socket3.py
+1
-1
src/gevent/monkey.py
src/gevent/monkey.py
+1
-1
src/gevent/pywsgi.py
src/gevent/pywsgi.py
+1
-1
src/gevent/selectors.py
src/gevent/selectors.py
+1
-1
src/gevent/socket.py
src/gevent/socket.py
+1
-1
src/gevent/subprocess.py
src/gevent/subprocess.py
+1
-1
No files found.
CHANGES.rst
View file @
1be1d002
...
...
@@ -6,6 +6,51 @@
.. towncrier release notes start
20.6.0 (2020-06-06)
===================
Features
--------
- Add ``gevent.selectors`` containing ``GeventSelector``. 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 the
``recommended`` 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`` and
``gevent.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 to ``LoopExit`` in scenarios that didn't produce
that before.)
See :issue:`1634`.
----
20.5.2 (2020-05-28)
===================
...
...
docs/changes/1532.feature
deleted
100644 → 0
View file @
0a538795
Add
``gevent.selectors``
containing
``GeventSelector``.
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
the
``recommended``
extra.)
When
monkey-patching, ``selectors`` is made
available
as
an
alias to this module.
docs/changes/1627.feature
deleted
100644 → 0
View file @
0a538795
Depend
on
greenlet
>=
0.4.16.
This
is
required
for
CPython
3.9
and
3.10a0.
docs/changes/1628.feature
deleted
100644 → 0
View file @
0a538795
Add
support
for
Python
3.9.
No
binary wheels are available yet, however.
docs/changes/1634.bugfix
deleted
100644 → 0
View file @
0a538795
``gevent.socket.create_connection`` and
``gevent.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 to ``LoopExit`` in scenarios that didn't produce
that before.)
src/gevent/__init__.py
View file @
1be1d002
...
...
@@ -27,7 +27,7 @@ version_info = _version_info(20, 0, 0, 'dev', 0) # XXX: Remove me
#: Use ``pkg_resources.parse_version(__version__)`` or
#: ``packaging.version.Version(__version__)`` to get a machine-usable
#: value.
__version__
=
'20.
5.3.dev
0'
__version__
=
'20.
6.
0'
__all__
=
[
...
...
src/gevent/_socket2.py
View file @
1be1d002
...
...
@@ -254,7 +254,7 @@ class socket(_socketcommon.SocketMixin):
"""
Connect to *address*.
.. versionchanged::
NEXT
.. versionchanged::
20.6.0
If the host part of the address includes an IPv6 scope ID,
it will be used instead of ignored, if the platform supplies
:func:`socket.inet_pton`.
...
...
src/gevent/_socket3.py
View file @
1be1d002
...
...
@@ -392,7 +392,7 @@ class socket(_socketcommon.SocketMixin):
"""
Connect to *address*.
.. versionchanged::
NEXT
.. versionchanged::
20.6.0
If the host part of the address includes an IPv6 scope ID,
it will be used instead of ignored, if the platform supplies
:func:`socket.inet_pton`.
...
...
src/gevent/monkey.py
View file @
1be1d002
...
...
@@ -1056,7 +1056,7 @@ def patch_selectors(aggressive=True):
In :func:`patch_all`, the *select* argument controls both this function
and :func:`patch_select`.
.. versionadded::
NEXT
.. versionadded::
20.6.0
"""
try
:
_check_availability
(
'selectors'
)
...
...
src/gevent/pywsgi.py
View file @
1be1d002
...
...
@@ -1389,7 +1389,7 @@ class WSGIServer(StreamServer):
.. versionchanged:: 1.1a3
Add support for passing :class:`logging.Logger` objects to the ``log`` and
``error_log`` arguments.
.. versionchanged::
NEXT
.. versionchanged::
20.6.0
Passing a ``handle`` kwarg to the constructor is now officially deprecated.
"""
...
...
src/gevent/selectors.py
View file @
1be1d002
...
...
@@ -8,7 +8,7 @@ This module provides the same API as the selectors defined in :mod:`selectors`.
On Python 2, this module is only available if the `selectors2
<https://pypi.org/project/selectors2/>`_ backport is installed.
.. versionadded::
NEXT
.. versionadded::
20.6.0
"""
from
__future__
import
absolute_import
from
__future__
import
division
...
...
src/gevent/socket.py
View file @
1be1d002
...
...
@@ -76,7 +76,7 @@ def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, source_address=N
address before making the connection. A host of '' or port 0 tells
the OS to use the default.
.. versionchanged::
NEXT
.. versionchanged::
20.6.0
If the host part of the address includes an IPv6 scope ID,
it will be used instead of ignored, if the platform supplies
:func:`socket.inet_pton`.
...
...
src/gevent/subprocess.py
View file @
1be1d002
...
...
@@ -587,7 +587,7 @@ class Popen(object):
Under Python 2, ``restore_signals`` defaults to ``False``. Previously it
defaulted to ``True``, the same as it did in Python 3.
.. versionchanged::
NEXT
.. versionchanged::
20.6.0
Add the *group*, *extra_groups*, *user*, and *umask* arguments. These
were added to Python 3.9, but are available in any gevent version, provided
the underlying platform support is present.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment