]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.9] bpo-41602: raise SIGINT exit code on KeyboardInterrupt from pymain_run_module...
authorŁukasz Langa <lukasz@langa.pl>
Thu, 24 Sep 2020 14:34:21 +0000 (16:34 +0200)
committerŁukasz Langa <lukasz@langa.pl>
Sun, 4 Oct 2020 16:40:36 +0000 (18:40 +0200)
commitc26a666e6751a9fad766ef83432b893f9b15ecaf
tree6f1b6ddf7013dda488e685d67475f8ea6371822e
parentbd55c46895d2fcfadda46701d3c34d78441a7806
[3.9] bpo-41602: raise SIGINT exit code on KeyboardInterrupt from pymain_run_module (GH-21956) (#22397)

Closes bpo issue 41602.
(cherry picked from commit a68a2ad19c891faa891904b3da537911cc77df21)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
Lib/test/test_runpy.py
Misc/NEWS.d/next/Tests/2020-08-25-19-25-36.bpo-41602.Z64s0I.rst [new file with mode: 0644]
Modules/main.c