mirror of
https://github.com/python/cpython.git
synced 2026-07-26 20:03:16 -04:00
0c080d7c77
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.