• Fred Drake's avatar
    When a PyCFunction that takes only positional parameters is called with · 1a7aab70
    Fred Drake yazdı
    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.
    1a7aab70
test_b1.py 17.3 KB