]> 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)
committerGitHub <noreply@github.com>
Thu, 24 Sep 2020 14:34:21 +0000 (16:34 +0200)
commitca8d46dd422e5aa10f444796d93faec5a8cbc1e0
tree0f35307f860c08bd2ed8c65b426b1c47e273bd4c
parent57e7d5c19e934f450f5a3539eff48162a78af994
[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