Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
gh-132713: Fix typing.Union[index] race condition#132802
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Use a critical section in union_getitem() to initialize the'parameters' member.
Uh oh!
There was an error while loading.Please reload this page.
Add union_init_parameters() helper function.
vstinner commentedApr 23, 2025
Please review the updated PR. |
vstinner commentedApr 23, 2025
"All required checks pass" CI didn't run. I updated my branch to try to fix the CI. |
dc3e963 intopython:mainUh oh!
There was an error while loading.Please reload this page.
vstinner commentedApr 23, 2025
Merged, thanks for reviews. |
Thanks@vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
)Add union_init_parameters() helper function. Use a critical sectionto initialize the 'parameters' member.(cherry picked from commitdc3e963)Co-authored-by: Victor Stinner <vstinner@python.org>
GH-132839 is a backport of this pull request to the3.13 branch. |
Uh oh!
There was an error while loading.Please reload this page.
Use a critical section in union_getitem() to initialize the 'parameters' member.
union_reprfromlist_repr_implin free-threaded build #132713