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
747ead5b
Commit
747ead5b
authored
Sep 22, 2020
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Preparing release 20.9.0
parent
73364f58
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
46 additions
and
25 deletions
+46
-25
CHANGES.rst
CHANGES.rst
+43
-0
docs/changes/1659.bugfix
docs/changes/1659.bugfix
+0
-5
docs/changes/1661.bugfix
docs/changes/1661.bugfix
+0
-5
docs/changes/issue1648.feature
docs/changes/issue1648.feature
+0
-6
docs/changes/issue1674.bugfix
docs/changes/issue1674.bugfix
+0
-6
src/gevent/__init__.py
src/gevent/__init__.py
+1
-1
src/gevent/contextvars.py
src/gevent/contextvars.py
+1
-1
src/gevent/monkey.py
src/gevent/monkey.py
+1
-1
No files found.
CHANGES.rst
View file @
747ead5b
...
@@ -6,6 +6,49 @@
...
@@ -6,6 +6,49 @@
.. towncrier release notes start
.. towncrier release notes start
20.9.0 (2020-09-22)
===================
Features
--------
- The embedded libev is now asked to detect the availability of
``clock_gettime`` and use the realtime and/or monotonic clocks, if
they are available.
On Linux, this can reduce the number of system calls libev makes.
Originally provided by Josh Snyder.
See :issue:`issue1648`.
Bugfixes
--------
- On CPython, depend on greenlet >= 0.4.17. This version is binary
incompatible with earlier releases on CPython 3.7 and later.
On Python 3.7 and above, the module ``gevent.contextvars`` is no
longer monkey-patched into the standard library. contextvars are now
both greenlet and asyncio task local. See :issue:`1656`.
See :issue:`issue1674`.
- The ``DummyThread`` objects created automatically by certain
operations when the standard library threading module is
monkey-patched now match the naming convention the standard library
uses ("Dummy-12345"). Previously (since gevent 1.2a2) they used
"DummyThread-12345".
See :issue:`1659`.
- Fix compatibility with dnspython 2.
.. caution:: This currently means that it can be imported. But it
cannot yet be used. gevent has a pinned dependency on
dnspython < 2 for now.
See :issue:`1661`.
----
20.6.2 (2020-06-16)
20.6.2 (2020-06-16)
===================
===================
...
...
docs/changes/1659.bugfix
deleted
100644 → 0
View file @
73364f58
The ``DummyThread`` objects created automatically by certain
operations when the standard library threading module is
monkey-patched now match the naming convention the standard library
uses ("Dummy-12345"). Previously (since gevent 1.2a2) they used
"DummyThread-12345".
docs/changes/1661.bugfix
deleted
100644 → 0
View file @
73364f58
Fix compatibility with dnspython 2.
.. caution:: This currently means that it can be imported. But it
cannot yet be used. gevent has a pinned dependency on
dnspython < 2 for now.
docs/changes/issue1648.feature
deleted
100644 → 0
View file @
73364f58
The
embedded
libev
is
now
asked
to
detect
the
availability
of
``clock_gettime``
and
use
the
realtime
and/or
monotonic
clocks,
if
they
are
available.
On
Linux,
this
c
an
reduce the number of system calls libev makes.
Originally
provided
by
Josh
Snyder.
docs/changes/issue1674.bugfix
deleted
100644 → 0
View file @
73364f58
On CPython, depend on greenlet >= 0.4.17. This version is binary
incompatible with earlier releases on CPython 3.7 and later.
On Python 3.7 and above, the module ``gevent.contextvars`` is no
longer monkey-patched into the standard library. contextvars are now
both greenlet and asyncio task local. See :issue:`1656`.
src/gevent/__init__.py
View file @
747ead5b
...
@@ -27,7 +27,7 @@ version_info = _version_info(20, 0, 0, 'dev', 0) # XXX: Remove me
...
@@ -27,7 +27,7 @@ version_info = _version_info(20, 0, 0, 'dev', 0) # XXX: Remove me
#: Use ``pkg_resources.parse_version(__version__)`` or
#: Use ``pkg_resources.parse_version(__version__)`` or
#: ``packaging.version.Version(__version__)`` to get a machine-usable
#: ``packaging.version.Version(__version__)`` to get a machine-usable
#: value.
#: value.
__version__
=
'20.
6.3.dev
0'
__version__
=
'20.
9.
0'
__all__
=
[
__all__
=
[
...
...
src/gevent/contextvars.py
View file @
747ead5b
...
@@ -24,7 +24,7 @@ from :pep:`567` and doesn't have much optimization. In particular, setting
...
@@ -24,7 +24,7 @@ from :pep:`567` and doesn't have much optimization. In particular, setting
context values isn't constant time.
context values isn't constant time.
.. versionadded:: 1.5a3
.. versionadded:: 1.5a3
.. versionchanged::
NEXT
.. versionchanged::
20.9.0
On Python 3.7 and above, this module is no longer monkey-patched
On Python 3.7 and above, this module is no longer monkey-patched
in place of the standard library version.
in place of the standard library version.
gevent depends on greenlet 0.4.17 which includes support for context variables.
gevent depends on greenlet 0.4.17 which includes support for context variables.
...
...
src/gevent/monkey.py
View file @
747ead5b
...
@@ -585,7 +585,7 @@ def patch_contextvars():
...
@@ -585,7 +585,7 @@ def patch_contextvars():
.. versionchanged:: 20.04.0
.. versionchanged:: 20.04.0
Clarify that the backport is also patched.
Clarify that the backport is also patched.
.. versionchanged::
NEXT
.. versionchanged::
20.9.0
This now does nothing on Python 3.7 and above.
This now does nothing on Python 3.7 and above.
gevent now depends on greenlet 0.4.17, which
gevent now depends on greenlet 0.4.17, which
natively handles switching context vars when greenlets are switched.
natively handles switching context vars when greenlets are switched.
...
...
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