[Python-Dev] [Python-checkins] cpython (3.2): Issue #11329: PyEval_InitThreads() cannot be called before Py_Initialize()

Nick Coghlan ncoghlan at gmail.com
Mon Mar 14 11:01:17 CET 2011


On Sun, Mar 13, 2011 at 6:29 PM, antoine.pitrou
<python-checkins at python.org> wrote:
>    .. index:: single: Py_Initialize()
>
> -   This is a no-op when called for a second time.  It is safe to call this function
> -   before calling :c:func:`Py_Initialize`.
> +   This is a no-op when called for a second time.

This change probably deserves a "versionchanged" tag and a note in the
"Porting to Python 3" section of What's New, since it may cause
weirdness for people embedding Python in their apps.

Cheers,
Nick.

-
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Python-Dev mailing list