Message402565
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. |
|
Date |
User |
Action |
Args |
2021-09-24 13:52:22 | vstinner | set | recipients:
+ vstinner, paul.moore, pitrou, tim.golden, ned.deily, zach.ware, eryksun, steve.dower, pablogsal, miss-islington, Dennis Sweeney, SD, lunixbochs2 |
2021-09-24 13:52:22 | vstinner | set | messageid: <1632491542.05.0.958540641883.issue41299@roundup.psfhosted.org> |
2021-09-24 13:52:22 | vstinner | link | issue41299 messages |
2021-09-24 13:52:21 | vstinner | create | |
|