[issue34247] PYTHONOPTIMZE ignored in 3.7.0 when using custom launcher

Nick Coghlan report at bugs.python.org
Fri Jul 27 23:44:06 EDT 2018


Nick Coghlan <ncoghlan at 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 <report at bugs.python.org>
<https://bugs.python.org/issue34247>
_______________________________________


More information about the Python-bugs-list mailing list