[issue1054041] Python doesn't exit with proper resultcode on SIGINT

Antoine Pitrou report at bugs.python.org
Thu Jan 6 23:29:21 CET 2011

Antoine Pitrou <pitrou at free.fr> added the comment:

- should KeyboardInterrupt always exit with SIGINT, or only if it was actually raised by a signal handler?
- if _Py_UnhandledKeyboardInterrupt is defined in Modules/main.c but used in Python/pythonrun.c, can't it cause linker errors when embedding Python?
- please use PEP 8 (testKeyboardInterruptSignalExit -> test_some_long_name)

nosy: +loewis, pitrou

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list