]> granicus.if.org Git - python/commit
Patch #1691070 from Roger Upole: Speed up PyArg_ParseTupleAndKeywords() and improve...
authorChristian Heimes <christian@cheimes.de>
Tue, 26 Feb 2008 17:23:51 +0000 (17:23 +0000)
committerChristian Heimes <christian@cheimes.de>
Tue, 26 Feb 2008 17:23:51 +0000 (17:23 +0000)
commitea837931cf393aa0373ccfa1849b2a3d6e3cc6ea
treeec22401b4627548c98b364f36f01013b11d563b9
parentca37661a69a10d70536b779e3a6ca387340b0ecd
Patch #1691070 from Roger Upole: Speed up PyArg_ParseTupleAndKeywords() and improve error msg
My tests don't show the promised speed up of 10%. The code is as fast as the old code for simple cases and slightly faster for complex cases with several of args and kwargs. But the patch simplifies the code, too.
Lib/test/test_getargs2.py
Modules/_testcapimodule.c
Python/getargs.c