]> granicus.if.org Git - python/commit
bpo-23395: Fix PyErr_SetInterrupt if the SIGINT signal is ignored or not handled...
authorMatěj Cepl <mcepl@cepl.eu>
Thu, 23 May 2019 20:30:00 +0000 (22:30 +0200)
committerAntoine Pitrou <antoine@python.org>
Thu, 23 May 2019 20:30:00 +0000 (22:30 +0200)
commit608876b6b1eb59538e6c29671a733033fb8b5be7
tree4d7501f1f43b222329912a33a60518ada47dbf81
parentb82e17e626f7b1cd98aada0b1ebb65cb9f8fb184
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.
Doc/c-api/exceptions.rst
Doc/library/_thread.rst
Lib/test/test_threading.py
Misc/ACKS
Misc/NEWS.d/next/Library/2016-07-27-11-06-43.bpo-23395.MuCEX9.rst [new file with mode: 0644]
Modules/signalmodule.c