mirror of
https://github.com/python/cpython.git
synced 2026-05-10 06:31:43 -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.