Nick Coghlan <ncogh...@gmail.com> added the comment:

Ah, wait - I see a relevant difference: the test case for issue31845 uses 
Py_Main, *not* Py_Initialize (since it's a command line test, not an embedding 
test).

That means it's currently possible for the sequence of operations in 
https://github.com/python/cpython/blob/7cbde0e09daba4259565738e48f141851287fe29/Python/pylifecycle.c#L913
 to be wrong (or missing steps) without causing the test suite to fail.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34247>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to