[issue46430] intern strings in deepfrozen modules
STINNER Victor
report at bugs.python.org
Wed Feb 23 12:10:54 EST 2022
STINNER Victor <vstinner at python.org> added the comment:
_PyStaticCode_InternStrings() error handling is based on assert(): that's really bad. It can crash Python (exit with abort()) at the first memory allocation failure. Why not returning -1 on error?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46430>
_______________________________________
More information about the Python-bugs-list
mailing list