This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: PyImport_Cleanup is called with builtins_copy == NULL in test_embed
Type: behavior Stage:
Components: Interpreter Core Versions: Python 3.8, Python 3.7, Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: brett.cannon, eric.snow, ncoghlan, serhiy.storchaka
Priority: normal Keywords:

Created on 2018-04-28 22:03 by serhiy.storchaka, last changed 2022-04-11 14:58 by admin.

Messages (2)
msg315868 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-04-28 22:03
PyImport_Cleanup is called with builtins_copy == NULL in run_embedded_interpreter() in Lib/test/test_embed.py. This error was silenced by calling PyErr_Clear(), but it still looks as error to me. It was exposed by PR 6606.
msg315881 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-04-29 05:56
PyImport_Cleanup() is called in Py_EndInterpreter(), but Py_NewInterpreter() doesn't call _PyImport_Init() which initializes builtins_copy.
History
Date User Action Args
2022-04-11 14:58:59adminsetgithub: 77560
2018-04-29 05:56:26serhiy.storchakasetmessages: + msg315881
2018-04-29 04:29:01serhiy.storchakasetversions: + Python 3.6
2018-04-28 22:03:00serhiy.storchakacreate