diff options
author | Victor Stinner <vstinner@python.org> | 2020-11-17 15:22:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-17 15:22:23 (GMT) |
commit | 296a796951032f678d063008f588ccc6958d0df1 (patch) | |
tree | 91fa9ac02ef9786aeb741d13d07a0cd027d34d02 /Misc/NEWS.d | |
parent | 975022b77b0024ea1548f19d5f91aba5ba1eed59 (diff) | |
download | cpython-296a796951032f678d063008f588ccc6958d0df1.zip cpython-296a796951032f678d063008f588ccc6958d0df1.tar.gz cpython-296a796951032f678d063008f588ccc6958d0df1.tar.bz2 |
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()
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/C API/2020-11-17-15-39-10.bpo-41713.Rq99Vc.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2020-11-17-15-39-10.bpo-41713.Rq99Vc.rst b/Misc/NEWS.d/next/C API/2020-11-17-15-39-10.bpo-41713.Rq99Vc.rst new file mode 100644 index 0000000..5373595 --- /dev/null +++ b/Misc/NEWS.d/next/C API/2020-11-17-15-39-10.bpo-41713.Rq99Vc.rst @@ -0,0 +1,3 @@ +Removed the undocumented ``PyOS_InitInterrupts()`` function. Initializing +Python already implicitly installs signal handlers: see +:c:member:`PyConfig.install_signal_handlers`. Patch by Victor Stinner. |