]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
SF bug 486278 SystemError: Python/getargs.c:1086: bad.
authorTim Peters <tim.peters@gmail.com>
Thu, 29 Nov 2001 03:26:37 +0000 (03:26 +0000)
committerTim Peters <tim.peters@gmail.com>
Thu, 29 Nov 2001 03:26:37 +0000 (03:26 +0000)
commitcffed4bc2162e453a8458d3014e23fa07b627aff
treeb36a24eaaea05b20201f562ca35d4415528f67a6
parent42f5332f6de308c1d9b8f4df076aacf87d23ac11
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).
Misc/NEWS
Python/getargs.c