mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Patch #900727: Add Py_InitializeEx to allow embedding without signals.
This commit is contained in:
parent
4d4dfb7a2b
commit
336e85f56a
4 changed files with 20 additions and 2 deletions
|
@ -23,6 +23,13 @@
|
|||
no return value; it is a fatal error if the initialization fails.
|
||||
\end{cfuncdesc}
|
||||
|
||||
\begin{cfuncdesc}{void}{Py_InitializeEx}{int initsigs}
|
||||
This function works like \cfunction{Py_Initialize} if
|
||||
\var{initsigs} is 1. If \var{initsigs} is 0, it skips
|
||||
initialization registration of signal handlers, which
|
||||
might be useful when Python is embedded. \versionadded{2.4}
|
||||
\end{cfuncdesc}
|
||||
|
||||
\begin{cfuncdesc}{int}{Py_IsInitialized}{}
|
||||
Return true (nonzero) when the Python interpreter has been
|
||||
initialized, false (zero) if not. After \cfunction{Py_Finalize()}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue