Skip to content

Commit 1719856

Browse files
committed
add What's New entry
1 parent 6b65314 commit 1719856

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/whatsnew/3.15.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ Other language changes
7878
* Several error messages incorrectly using the term "argument" have been corrected.
7979
(Contributed by Stan Ulbrych in :gh:`133382`.)
8080

81+
* :func:`sys.exit` and :exc:`SystemExit` now correctly handle empty and 1-item
82+
tuples arguments. Previously, such tuples were unpacked by :func:`!sys.exit`
83+
but not by :exc:`!SystemExit` and the process status code was incorrectly
84+
set.
85+
(Contributed by Bénédikt Tran in :gh:`133548`.)
8186

8287

8388
New modules

0 commit comments

Comments
 (0)