Skip to content

Commit ede3fa5

Browse files
authored
Merge pull request #198 from oremanj/change-context
Add the ability to modify a greenlet's contextvars context
2 parents e1937b4 + 1f83f62 commit ede3fa5

File tree

4 files changed

+534
-113
lines changed

4 files changed

+534
-113
lines changed

CHANGES.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
1.0.0 (unreleased)
66
==================
77

8+
- Add the ability to set a greenlet's PEP 567 contextvars context
9+
directly, by assigning to the greenlet's ``gr_context`` attribute.
10+
This restores support for some patterns of using greenlets atop an
11+
async environment that became more challenging in 0.4.17. Thanks to
12+
Joshua Oreman, Mike bayer, and Fantix King, among others. See `PR
13+
198 <https://github.com/python-greenlet/greenlet/pull/198/>`_.
814
- (Packaging) Require setuptools to build from source.
915
- (Packaging) Stop asking setuptools to build both .tar.gz and .zip
1016
sdists. PyPI has standardized on .tar.gz for all platforms.

0 commit comments

Comments
 (0)