diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2019-05-23 20:30:00 (GMT) |
---|---|---|
committer | Antoine Pitrou <antoine@python.org> | 2019-05-23 20:30:00 (GMT) |
commit | 608876b6b1eb59538e6c29671a733033fb8b5be7 (patch) | |
tree | 4d7501f1f43b222329912a33a60518ada47dbf81 /Misc | |
parent | b82e17e626f7b1cd98aada0b1ebb65cb9f8fb184 (diff) | |
download | cpython-608876b6b1eb59538e6c29671a733033fb8b5be7.zip cpython-608876b6b1eb59538e6c29671a733033fb8b5be7.tar.gz cpython-608876b6b1eb59538e6c29671a733033fb8b5be7.tar.bz2 |
bpo-23395: Fix PyErr_SetInterrupt if the SIGINT signal is ignored or not handled (GH-7778)
``_thread.interrupt_main()`` now avoids setting the Python error status if the ``SIGINT`` signal is ignored or not handled by Python.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/ACKS | 2 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Library/2016-07-27-11-06-43.bpo-23395.MuCEX9.rst | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -261,7 +261,7 @@ Donn Cave Charles Cazabon Jesús Cea Avión Per Cederqvist -Matej Cepl +Matěj Cepl Carl Cerecke Octavian Cerna Michael Cetrulo diff --git a/Misc/NEWS.d/next/Library/2016-07-27-11-06-43.bpo-23395.MuCEX9.rst b/Misc/NEWS.d/next/Library/2016-07-27-11-06-43.bpo-23395.MuCEX9.rst new file mode 100644 index 0000000..ec95320 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2016-07-27-11-06-43.bpo-23395.MuCEX9.rst @@ -0,0 +1,2 @@ +``_thread.interrupt_main()`` now avoids setting the Python error status +if the ``SIGINT`` signal is ignored or not handled by Python. |