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

STINNER Victor report at bugs.python.org
Fri Sep 24 09:52:22 EDT 2021


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

Calling Py_FatalError() must be avoided by any mean. I spent significant time to remove Py_FatalError() at Python startup in my PEP 587 implementation: https://www.python.org/dev/peps/pep-0587/

I also removed Py_FatalError() calls to report errors to the caller: https://bugs.python.org/issue38631

Calling Py_FatalError() is really bad when Python is embedded in an application. It kills the whole process, the caller has no way to catch the error.

----------

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


More information about the Python-bugs-list mailing list