-
-
Notifications
You must be signed in to change notification settings - Fork 34k
gh-142119: Clarify that one contextvars.Token can only reset once in a lifetime
#143693
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
gh-142119: Clarify that one contextvars.Token can only reset once in a lifetime
#143693
Conversation
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
|
Please do not use the Update Branch button unless necessary (e.g. fixing conflicts, jogging the CI, or very old PRs) as it uses valuable resources. For more information see the devguide. |
I've just fixed a conflict, so this was necessary. A conflict that would make it harder for @encukou to potentially merge this :) |
|
Oh sorry I didn't notice |
|
Thanks @johnslavik for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
…once in a lifetime (pythonGH-143693) (cherry picked from commit 487bd2dea538e36cb620dd9e0f298d731b9ede8a) Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
…once in a lifetime (pythonGH-143693) (cherry picked from commit 487bd2d) Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
|
GH-144266 is a backport of this pull request to the 3.14 branch. |
|
GH-144267 is a backport of this pull request to the 3.13 branch. |
contextvars.Tokentocontextvars.ContextVar.set#142119📚 Documentation preview 📚: https://cpython-previews--143693.org.readthedocs.build/