[docs] [issue33932] Calling Py_Initialize() twice now triggers a fatal error (Python 3.7)

STINNER Victor report at bugs.python.org
Thu Jun 28 08:51:42 EDT 2018


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

Ok, now with my regression hat.

In Python 3.6, Py_Main() calls Py_Initialize(). If Py_Initialize() is called twice, the second call does nothing. So it's fine to call Py_Main() after Py_Initialize() in Python 3.6.

----------

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


More information about the docs mailing list