Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9bd3bbc

Browse files
committed
Issue #11329: PyEval_InitThreads() cannot be called before Py_Initialize() anymore
1 parent 34db469 commit 9bd3bbc

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

Doc/ACKS.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ [email protected]), and we'll be glad to correct the problem.
120120
* Robert Lehmann
121121
* Marc-André Lemburg
122122
* Ross Light
123+
* Gediminas Liktaras
123124
* Ulf A. Lindgren
124125
* Everett Lipman
125126
* Mirko Liss

Doc/c-api/init.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ Initializing and finalizing the interpreter
2929
3030
Initialize the Python interpreter. In an application embedding Python, this
3131
should be called before using any other Python/C API functions; with the
32-
exception of :c:func:`Py_SetProgramName`, :c:func:`Py_SetPath`,
33-
and :c:func:`PyEval_InitThreads`. This initializes
32+
exception of :c:func:`Py_SetProgramName` and :c:func:`Py_SetPath`. This initializes
3433
the table of loaded modules (``sys.modules``), and creates the fundamental
3534
modules :mod:`builtins`, :mod:`__main__` and :mod:`sys`. It also initializes
3635
the module search path (``sys.path``). It does not set ``sys.argv``; use
@@ -540,8 +539,7 @@ code, or when embedding the Python interpreter:
540539
541540
.. index:: single: Py_Initialize()
542541
543-
This is a no-op when called for a second time. It is safe to call this function
544-
before calling :c:func:`Py_Initialize`.
542+
This is a no-op when called for a second time.
545543
546544
.. index:: module: _thread
547545

0 commit comments

Comments
 (0)