summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-01-04 22:33:02 +0000
committerFred Drake <fdrake@acm.org>2001-01-04 22:33:02 +0000
commit1845f44125173b24a2de42aa506e354975d74239 (patch)
tree07695c83490693bbcdec98d58afc6df080dbf3fc /Python/pythonrun.c
parent9d6194a4aefe68e4dd774aece659c397a80fe7f7 (diff)
downloadcpython-1845f44125173b24a2de42aa506e354975d74239.tar.gz
When a PyCFunction that takes only positional parameters is called with
an empty keywords dictionary (via apply() or the extended call syntax), the keywords dict should be ignored. If the keywords dict is not empty, TypeError should be raised. (Between the restructuring of the call machinery and this patch, an empty dict in this situation would trigger a SystemError via PyErr_BadInternalCall().) Added regression tests to detect errors for this.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions