[issue33379] PyImport_Cleanup is called with builtins_copy == NULL in test_embed

Serhiy Storchaka report at bugs.python.org
Sun Apr 29 01:56:26 EDT 2018


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

PyImport_Cleanup() is called in Py_EndInterpreter(), but Py_NewInterpreter() doesn't call _PyImport_Init() which initializes builtins_copy.

----------

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


More information about the Python-bugs-list mailing list