mirror of
https://github.com/python/cpython.git
synced 2026-05-15 08:59:27 -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.