[issue34008] Do we support calling Py_Main() after Py_Initialize()?

STINNER Victor report at bugs.python.org
Mon Jul 2 05:01:54 EDT 2018


STINNER Victor <vstinner at redhat.com> added the comment:

My PR 8043 fix the Python 3.7 regression: allow again to call Py_Main() after Py_Initialize().

Nick: if you want to raise an error on that case, I would prefer to see a deprecation warning emitted in version N before raising an error in version N+1.

Technically, it seems possible to allow calling Py_Main() after Py_Initialize(). It's "just" a matter of fixing Py_Main() to apply properly the new configuration.

----------

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


More information about the Python-bugs-list mailing list