Mercurial > cpython-lru_cache-weakref
changeset 68429:4c59cd84086f 3.2
Issue #11329: PyEval_InitThreads() cannot be called before Py_Initialize() anymore
| author | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| date | Sun, 13 Mar 2011 23:28:28 +0100 |
| parents | eb8c2f43b251 |
| children | 3c0edb157ea2 67f4ef6094ed |
| files | Doc/ACKS.txt Doc/c-api/init.rst |
| diffstat | 2 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/Doc/ACKS.txt Sun Mar 13 19:32:01 2011 +0100 +++ b/Doc/ACKS.txt Sun Mar 13 23:28:28 2011 +0100 @@ -120,6 +120,7 @@ * Robert Lehmann * Marc-André Lemburg * Ross Light + * Gediminas Liktaras * Ulf A. Lindgren * Everett Lipman * Mirko Liss
--- a/Doc/c-api/init.rst Sun Mar 13 19:32:01 2011 +0100 +++ b/Doc/c-api/init.rst Sun Mar 13 23:28:28 2011 +0100 @@ -29,8 +29,7 @@ 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 @@ .. 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
