summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-03-27 13:03:09 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-03-27 13:03:09 (GMT)
commit0c766a0bb62877a1080acf3c70ca6ed393d9e7fc (patch)
treec4ef3ebf091a8b8a7463fe37c4479e4a6ec36e19 /Misc
parent496f9e41ef01965caf747533acee3611871067b2 (diff)
downloadcpython-0c766a0bb62877a1080acf3c70ca6ed393d9e7fc.zip
cpython-0c766a0bb62877a1080acf3c70ca6ed393d9e7fc.tar.gz
cpython-0c766a0bb62877a1080acf3c70ca6ed393d9e7fc.tar.bz2
Change sys_exit to use METH_VARARGS.
sys.exit() now requires 0-1 arguments. Previously 2+ arguments were allowed.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 7dc65dc..eff4627 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -26,6 +26,9 @@ Core and builtins
- posix.killpg has been added where available.
+- sys.exit() inadvertantly allowed more than one argument.
+ An exception will now be raised if more than one argument is used.
+
Extension modules
- A security hole ("double free") was found in zlib-1.1.3, a popular