]> granicus.if.org Git - python/commit
When calling a PyCFunction that has METH_KEYWORDS defined, don't
authorJeremy Hylton <jeremy@alum.mit.edu>
Fri, 9 Feb 2001 23:23:20 +0000 (23:23 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Fri, 9 Feb 2001 23:23:20 +0000 (23:23 +0000)
commit8af6b83e61f1f5b4501968b77a17ad6ef96984c4
tree908ef47bc3f48101fbc6016d6cf680a861d9e2a6
parentc898f2cd3ba15d6b315a3525e7c3c8c59f99c609
When calling a PyCFunction that has METH_KEYWORDS defined, don't
create an empty dictionary if it is called without keyword args.  Just
pass NULL.

XXX I had believed that this caused weird errors, but the test suite
runs cleanly.
Python/ceval.c