Issue #11329: PyEval_InitThreads() cannot be called before Py_Initialize() anymore
authorAntoine Pitrou <solipsis@pitrou.net>
Sun, 13 Mar 2011 22:28:28 +0000 (23:28 +0100)
committerAntoine Pitrou <solipsis@pitrou.net>
Sun, 13 Mar 2011 22:28:28 +0000 (23:28 +0100)
Doc/ACKS.txt
Doc/c-api/init.rst

index c51d211180e694c816787a992467fa98a7302c8a..7f67d36cbb06a972a0b70d60fee2c2e4ff278802 100644 (file)
@@ -120,6 +120,7 @@ docs@python.org), and we'll be glad to correct the problem.
    * Robert Lehmann
    * Marc-André Lemburg
    * Ross Light
+   * Gediminas Liktaras
    * Ulf A. Lindgren
    * Everett Lipman
    * Mirko Liss
index da55ab03c0938e0393fd46e3951fdb7f689952ce..2641c8b7f25febac457beecbc942383e783ccd28 100644 (file)
@@ -29,8 +29,7 @@ Initializing and finalizing the interpreter
 
    Initialize the Python interpreter.  In an application embedding  Python, this
    should be called before using any other Python/C API functions; with the
-   exception of :c:func:`Py_SetProgramName`, :c:func:`Py_SetPath`,
-   and :c:func:`PyEval_InitThreads`. This initializes
+   exception of :c:func:`Py_SetProgramName` and :c:func:`Py_SetPath`.  This initializes
    the table of loaded modules (``sys.modules``), and creates the fundamental
    modules :mod:`builtins`, :mod:`__main__` and :mod:`sys`.  It also initializes
    the module search path (``sys.path``). It does not set ``sys.argv``; use
@@ -540,8 +539,7 @@ code, or when embedding the Python interpreter:
 
    .. 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.
 
    .. index:: module: _thread