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
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.8 KB
.gitignore -rw-r--r-- 1.6 KB
.travis.yml -rw-r--r-- 7.9 KB
CODE_OF_CONDUCT.md -rw-r--r-- 609 bytes
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 64.6 KB
README.rst -rw-r--r-- 9.8 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 489.4 KB
configure.ac -rw-r--r-- 160.1 KB
install-sh -rwxr-xr-x 15.0 KB
pyconfig.h.in -rw-r--r-- 43.2 KB
setup.py -rw-r--r-- 99.8 KB

README.rst

back to top