mirror of
https://github.com/python/cpython.git
synced 2025-10-10 08:53:14 +00: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.
This commit is contained in:
parent
be3b295838
commit
06babb2422
2 changed files with 7 additions and 0 deletions
|
@ -133,6 +133,13 @@ Other Language Changes
|
||||||
:meth:`datetime.datetime.astimezone`.
|
:meth:`datetime.datetime.astimezone`.
|
||||||
(Contributed by Paul Ganssle in :issue:`32417`.)
|
(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
|
New Modules
|
||||||
===========
|
===========
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue