Skip to content

Add the ability to modify a greenlet's contextvars context #198

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Nov 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
1.0.0 (unreleased)
==================

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