[issue41299] Python3 threading.Event().wait time is twice as large as Python27

STINNER Victor report at bugs.python.org
Fri Sep 24 19:17:07 EDT 2021


STINNER Victor <vstinner at python.org> added the comment:

I close the issue.

> bpo-41299: Fix EnterNonRecursiveMutex() (GH-28548)

I don't think that it's worth it to backport this change to 3.9 and 3.10. In practice, Py_FatalError() will never be called, and _PyTime_GetMonotonicClock() result must always be greater than 0.

But I wanted to remove it in the main branch to reduce the number of functions calling Py_FatalError().

----------
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41299>
_______________________________________


More information about the Python-bugs-list mailing list