summaryrefslogtreecommitdiff
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-11-29 03:26:37 +0000
committerTim Peters <tim.peters@gmail.com>2001-11-29 03:26:37 +0000
commitcffed4bc2162e453a8458d3014e23fa07b627aff (patch)
treeb36a24eaaea05b20201f562ca35d4415528f67a6 /Misc/NEWS
parent42f5332f6de308c1d9b8f4df076aacf87d23ac11 (diff)
downloadcpython-git-cffed4bc2162e453a8458d3014e23fa07b627aff.tar.gz
SF bug 486278 SystemError: Python/getargs.c:1086: bad.
vgetargskeywords(): Now that this routine is checking for bad input (rather than dump core in some cases), some bad calls are raising errors that previously "worked". This patch makes the error strings more revealing, and changes the exceptions from SystemError to RuntimeError (under the theory that SystemError is more of a "can't happen!" assert- like thing, and so inappropriate for bad arguments to a public C API function).
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS9
1 files changed, 8 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 161be54464..5bb35085b6 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1,4 +1,4 @@
-What's New in Python 2.2c1?
+What's New in Python 2.2c1
XXX Release date: ??-Dec-2001 XXX
===========================
@@ -22,6 +22,13 @@ Build
C API
+- PyArg_ParseTupleAndKeywords() requires that the number of entries in
+ the keyword list equals the number of argument specifiers. This
+ wasn't checked correctly, and PyArg_ParseTupleAndKeywords could even
+ dump core in some bad cases. This has been repaired. As a result,
+ PyArg_ParseTupleAndKeywords may raise RuntimeError in bad cases that
+ previously went unchallenged.
+
New platforms
Tests