diff options
author | Fred Drake <fdrake@acm.org> | 2001-01-04 22:33:02 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-01-04 22:33:02 (GMT) |
commit | 1a7aab70d1f56b63ba6798db1cafe0a61cc3da15 (patch) | |
tree | 2866a950471b75591faadbbf350185be902b9f2b /Lib/test/test_strop.py | |
parent | be4c0f56a28831f6121ef545ca8afb44a6723022 (diff) | |
download | cpython-1a7aab70d1f56b63ba6798db1cafe0a61cc3da15.zip cpython-1a7aab70d1f56b63ba6798db1cafe0a61cc3da15.tar.gz cpython-1a7aab70d1f56b63ba6798db1cafe0a61cc3da15.tar.bz2 |
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 'Lib/test/test_strop.py')
0 files changed, 0 insertions, 0 deletions