Skip to content

Conversation

@XuehaiPan
Copy link
Contributor

@XuehaiPan XuehaiPan marked this pull request as ready for review December 25, 2025 07:22
@XuehaiPan XuehaiPan requested a review from henryiii as a code owner December 25, 2025 07:22
@XuehaiPan XuehaiPan changed the title Fix concurrency consistency for internals_pp_manager under multiple-interpreters [WIP] Fix concurrency consistency for internals_pp_manager under multiple-interpreters Dec 25, 2025
@b-pass b-pass self-requested a review December 25, 2025 21:41
b-pass and others added 9 commits December 25, 2025 17:10
The pre_init needs to check if it is in a subinterpreter or not. But in 3.13+ this static initializer runs in the main interpreter.  So we need to check this later, during the exec phase.
…was where it was...

Should not hurt anything to do it extra times here.
The count was not used, it was just checked for > 1, we now accomplish this by setting the flag.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants