mirror of
https://github.com/python/cpython.git
synced 2026-01-27 05:05:50 +00:00
Use a `PyMutex` to avoid the race in mutex initialization. Use relaxed atomics to avoid the data race on reading `_PyOS_ReadlineTState` when checking for re-entrant calls.