Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Make gil_safe_call_once thread-safe in free-threaded CPython
The "is_initialized_" flags is not protected by the GIL in free-threaded Python, so it needs to be an atomic field. Fixes #5245
- Loading branch information