gh-138192: Fix Context initialization so that all subinterpreters are assigned the MISSING value.#138503
Merged
corona10 merged 8 commits intopython:mainfrom Sep 4, 2025
Merged
gh-138192: Fix Context initialization so that all subinterpreters are assigned the MISSING value.#138503corona10 merged 8 commits intopython:mainfrom
corona10 merged 8 commits intopython:mainfrom
Conversation
…rs are assigned the MISSING value.
Member
Author
corona10
commented
Sep 4, 2025
| return _PyStatus_OK(); | ||
| } | ||
|
|
||
| PyObject *missing = get_token_missing(); |
Member
Author
There was a problem hiding this comment.
get_token_missing is using Singleton value so it is safe to use.
Member
Author
|
FYI, I locally checked that refleak tests are passed. |
Misc/NEWS.d/next/Core_and_Builtins/2025-09-05-01-19-04.gh-issue-138192.erluq5.rst
Outdated
Show resolved
Hide resolved
…e-138192.erluq5.rst Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Member
Author
|
@ZeroIntensity Would you like to take a look again :) |
ZeroIntensity
approved these changes
Sep 4, 2025
Member
ZeroIntensity
left a comment
There was a problem hiding this comment.
Thanks, this looks good to me.
kumaraditya303
approved these changes
Sep 4, 2025
|
Thanks @corona10 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14. |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Sep 4, 2025
…rs are assigned the MISSING value. (pythongh-138503) --------- (cherry picked from commit f070f54) Co-authored-by: Donghee Na <donghee.na@python.org> Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
|
GH-138505 is a backport of this pull request to the 3.14 branch. |
hugovk
pushed a commit
that referenced
this pull request
Sep 5, 2025
|
kumaraditya303
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Sep 9, 2025
…erpreters are assigned the MISSING value. (pythongh-138503) (python#138505) Co-authored-by: Donghee Na <donghee.na@python.org> Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
lkollar
pushed a commit
to lkollar/cpython
that referenced
this pull request
Sep 9, 2025
…rs are assigned the MISSING value. (pythongh-138503) --------- Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
contextvars.Token.MISSINGattribute not available in subinterpreters #138192