Skip to content

Tweak local contextvar feature checking#2039

Merged
davidism merged 1 commit intopallets:masterfrom
pgjones:local
Feb 11, 2021
Merged

Tweak local contextvar feature checking#2039
davidism merged 1 commit intopallets:masterfrom
pgjones:local

Conversation

@pgjones
Copy link
Copy Markdown
Member

@pgjones pgjones commented Feb 10, 2021

This uses GREENLET_USE_CONTEXT_VARS if available (as added to Greenlet
0.4.17 or later) in place of the eventlet check, as eventlet does not
patch contextvars but Greenlet now does. This also allows the gevent's
monkeypatching to work if an older version of greenlet is used.

This uses GREENLET_USE_CONTEXT_VARS if available (as added to Greenlet
0.4.17 or later) in place of the eventlet check, as eventlet does not
patch contextvars but Greenlet now does. This also allows the gevent's
monkeypatching to work if an older version of greenlet is used.
@davidism davidism merged commit 94f252e into pallets:master Feb 11, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants