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
{{ message }}
Repository navigation
Context manager support for contextvars.Context #99633
Activity
pythongh-99633: Add context manager support to `contextvars.Context`
gvanrossum commentedon Nov 21, 2022
The idea should probably be reviewed by @1st1.
pythongh-99633: Add context manager support to `contextvars.Context`
pythongh-99633: Add context manager support to `contextvars.Context`
rhansen commentedon Feb 2, 2023
Friendly ping @1st1
apostolos-geyer commentedon May 26, 2024
+1
gvanrossum commentedon May 26, 2024
Maybe someone could contribute a PR?
pythongh-99633: Add context manager support to `contextvars.Context`
44 remaining items
pythongh-99633: Inline independent coroutine check
pythongh-99633: Add context manager support to `contextvars.Context`
pythongh-99633: _contextvars: Change private types to reduce casting
pythongh-99633: _contextvars: Clarify that the ref is stolen, not bor…
pythongh-99633: _contextvars: Enter the thread's initial context
pythongh-99633: _contextvars: Call non-tstate variants
pythongh-99633: New generator/coroutine `_context` property
pythongh-99633: Inline independent coroutine check
pythongh-99633: Add context manager support to `contextvars.Context`
pythongh-124872: Replace enter/exit events with "switched"
pythongh-124872: Replace enter/exit events with "switched"
gh-124872: Replace enter/exit events with "switched" (#124776)
pythongh-124872: Replace enter/exit events with "switched" (python#12…
gh-124872: Replace enter/exit events with "switched" (#125532)
pythongh-124872: Replace enter/exit events with "switched" (python#12…