[Python-checkins] bpo-1054041: Add What's New docs. (GH-11999)

Gregory P. Smith webhook-mailer at python.org
Sat Feb 23 13:43:52 EST 2019

commit: 06babb24225d41a76e4aee975380294ca1ee1d7c
branch: master
author: Gregory P. Smith <greg at krypto.org>
committer: GitHub <noreply at github.com>
date: 2019-02-23T10:43:49-08:00

bpo-1054041: Add What's New docs. (GH-11999)

Add What's New docs about the Ctrl-C improvement. Correct the issue number in the NEWS entry.

A Misc/NEWS.d/next/Core and Builtins/2019-02-16-00-42-32.bpo-1054041.BL-WLd.rst
D Misc/NEWS.d/next/Core and Builtins/2019-02-16-00-42-32.bpo-1054051.BL-WLd.rst
M Doc/whatsnew/3.8.rst

diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index 72aaafd1b3dc..f21175a5a2a8 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -133,6 +133,13 @@ Other Language Changes
   (Contributed by Paul Ganssle in :issue:`32417`.)
+* When the Python interpreter is interrupted by Ctrl-C (SIGINT) and the
+  resulting :exc:`KeyboardInterrupt` exception is not caught, the Python process
+  now exits via a SIGINT signal or with the correct exit code such that the
+  calling process can detect that it died due to a Ctrl-C.  Shells on POSIX
+  and Windows use this to properly terminate scripts in interactive sessions.
+  (Contributed by Google via Gregory P. Smith in :issue:`1054041`.)
 New Modules
diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-02-16-00-42-32.bpo-1054051.BL-WLd.rst b/Misc/NEWS.d/next/Core and Builtins/2019-02-16-00-42-32.bpo-1054041.BL-WLd.rst
similarity index 100%
rename from Misc/NEWS.d/next/Core and Builtins/2019-02-16-00-42-32.bpo-1054051.BL-WLd.rst
rename to Misc/NEWS.d/next/Core and Builtins/2019-02-16-00-42-32.bpo-1054041.BL-WLd.rst

More information about the Python-checkins mailing list