mirror of
https://github.com/python/cpython.git
synced 2026-05-08 21:50:40 -04:00
517733ce3c
This adds a `_PyRecursiveMutex` type based on `PyMutex` and uses that
for the import lock. This fixes some data races in the free-threaded
build and generally simplifies the import lock code.
(cherry picked from commit e21057b999)
Co-authored-by: Sam Gross <colesbury@gmail.com>
Miscellaneous source files for the main Python shared library