]> granicus.if.org Git - python/commit
Add _PyObject_FastCallKeywords()
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 9 Sep 2016 19:36:44 +0000 (12:36 -0700)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 9 Sep 2016 19:36:44 +0000 (12:36 -0700)
commitd8735720955557d8056bc1fca41ad1c3b48aa63c
tree87c04970bcbbd4ff7fd9b3c4ff5f138d98b7dc1e
parent84f6a8f725c0f7a06d5e77b283d6028bf854443c
Add _PyObject_FastCallKeywords()

Issue #27830: Add _PyObject_FastCallKeywords(): avoid the creation of a
temporary dictionary for keyword arguments.

Other changes:

* Cleanup call_function() and fast_function() (ex: rename nk to nkwargs)
* Remove now useless do_call(), replaced with _PyObject_FastCallKeywords()
Include/abstract.h
Include/funcobject.h
Objects/abstract.c
Python/ceval.c