commit | cffed4bc2162e453a8458d3014e23fa07b627aff | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Thu Nov 29 03:26:37 2001 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Thu Nov 29 03:26:37 2001 +0000 |
tree | b36a24eaaea05b20201f562ca35d4415528f67a6 | |
parent | 42f5332f6de308c1d9b8f4df076aacf87d23ac11 [diff] |
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).