mirror of
https://github.com/python/cpython
synced 2026-09-28 03:33:18 +03:00
bpo-41713: Remove PyOS_InitInterrupts() function (GH-23342)
Remove the undocumented PyOS_InitInterrupts() C function. * Rename PyOS_InitInterrupts() to _PySignal_Init(). It now installs other signal handlers, not only SIGINT. * Rename PyOS_FiniInterrupts() to _PySignal_Fini()
This commit is contained in:
parent
975022b77b
commit
296a796951
6 changed files with 38 additions and 40 deletions
|
|
@ -5,7 +5,6 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
PyAPI_FUNC(int) PyOS_InterruptOccurred(void);
|
||||
PyAPI_FUNC(void) PyOS_InitInterrupts(void);
|
||||
#ifdef HAVE_FORK
|
||||
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03070000
|
||||
PyAPI_FUNC(void) PyOS_BeforeFork(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue