[New-bugs-announce] [issue41602] Python doesn't exit with proper resultcode on SIGINT in runpy

Thomas Grainger report at bugs.python.org
Thu Aug 20 15:58:37 EDT 2020


New submission from Thomas Grainger <tagrain at gmail.com>:

when running "python -m ham.py" KeyboardInterrupt should result in -2, but results in 1

see test case

----------
components: Interpreter Core
files: test_exit.py
messages: 375732
nosy: graingert
priority: normal
severity: normal
status: open
title: Python doesn't exit with proper resultcode on SIGINT in runpy
versions: Python 3.8, Python 3.9
Added file: https://bugs.python.org/file49414/test_exit.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41602>
_______________________________________


More information about the New-bugs-announce mailing list