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

Xiang Zhang report at bugs.python.org
Fri Jun 22 05:00:38 EDT 2018


Xiang Zhang <angwerzx at 126.com> added the comment:

> Note: the doc doesn't say that the function must only be called once, nor document the (current) new Python 3.7 restriction (must only be called once):

But the doc says:

  This is a no-op when called for a second time (without calling Py_FinalizeEx() first).

no-op means it could be called twice?

----------
nosy: +xiang.zhang

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


More information about the docs mailing list