Staging
v0.5.1
https://github.com/python/cpython
Revision d9bc543cbb9681f77d94864d05e2ba2d353e6de9 authored by Gregory P. Smith on 21 February 2019, 01:35:54 UTC, committed by GitHub on 21 February 2019, 01:35:54 UTC
Explicitly reinitialize this every eval *just in case* someone is
calling into an embedded Python where they don't care about an uncaught
KeyboardInterrupt exception (why didn't they leave
`config.install_signal_handlers` set to `0`?!?) but then later call
`Py_Main()` itself (which *checks* this flag and dies with a signal after
its interpreter exits).  We don't want a previous embedded interpreter's
uncaught exception to trigger an unexplained signal exit from a future
`Py_Main()` based one.
1 parent 9b0c681
History
Tip revision: d9bc543cbb9681f77d94864d05e2ba2d353e6de9 authored by Gregory P. Smith on 21 February 2019, 01:35:54 UTC
Re-init _Py_UnhandledKeyboardInterrupt before run. (GH-11963)
Tip revision: d9bc543
File Mode Size
c-api
data
distributing
distutils
extending
faq
howto
includes
install
installing
library
reference
tools
tutorial
using
whatsnew
Makefile -rw-r--r-- 7.4 KB
README.rst -rw-r--r-- 4.3 KB
about.rst -rw-r--r-- 1.5 KB
bugs.rst -rw-r--r-- 4.2 KB
conf.py -rw-r--r-- 6.6 KB
contents.rst -rw-r--r-- 538 bytes
copyright.rst -rw-r--r-- 451 bytes
glossary.rst -rw-r--r-- 51.4 KB
license.rst -rw-r--r-- 43.4 KB
make.bat -rw-r--r-- 5.5 KB

README.rst

back to top