Skip to content

gh-130599: Fix data race in long_from_non_binary_base #130600

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

Closed

Conversation

colesbury
Copy link
Contributor

@colesbury colesbury commented Feb 26, 2025

The global initialization wasn't thread-safe with free threading or per-interpreter GIL. Use a _PyOnceFlag to initialize the entries in a thread-safe manner.

The global initialization wasn't thread-safe with free threading or
per-interpreter GIL. Use a `_PyOnceFlag` to initialize the entries in a
thread-safe manner.
@colesbury
Copy link
Contributor Author

Closing in favor of #130714

@colesbury colesbury closed this Mar 3, 2025
@colesbury colesbury deleted the gh-130599-long-non-binary-base branch March 4, 2025 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant