We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b65314 commit 1719856Copy full SHA for 1719856
Doc/whatsnew/3.15.rst
@@ -78,6 +78,11 @@ Other language changes
78
* Several error messages incorrectly using the term "argument" have been corrected.
79
(Contributed by Stan Ulbrych in :gh:`133382`.)
80
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`.)
86
87
88
New modules
0 commit comments