[issue46430] intern strings in deepfrozen modules

Guido van Rossum report at bugs.python.org
Sat Feb 26 18:45:31 EST 2022


Guido van Rossum <guido at python.org> added the comment:

> PEP 587 introduced PyStatus to Python startup code which let the Py_Initialize() caller to decide how to handle errors ;-) For example, you can open a graphical popup rather than killing the process with SIGABRT (Py_FatalError() behavior) which might be more user friendly :-D Or just log the error.

That's up to pycore_interp_init() in pylifecycle.c now. Kumar called _PyStatus_ERR() there, so I think nothing more needs to be done.

----------

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


More information about the Python-bugs-list mailing list