You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to provide the ability for user to switch from contextvars back to Thread Local Storage, in order to make it work for existing systems like gevent and tornado. This can be exposed through a non-public API first, considering this is not a common scenario and we can remove it once all systems onboarded to contextvars.
The context library should be released as an individual package.
The text was updated successfully, but these errors were encountered:
We target Python 3, which has different ways of handing asynchronous context:
contextvars
supported as a backport https://pypi.org/project/contextvars/.contextvars
provided by the default library.The current decision:
contextvars
back to Thread Local Storage, in order to make it work for existing systems like gevent and tornado. This can be exposed through a non-public API first, considering this is not a common scenario and we can remove it once all systems onboarded tocontextvars
.The text was updated successfully, but these errors were encountered: