]> granicus.if.org Git - python/commit
method_call() and slot_tp_new() now uses fast call
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 24 Aug 2016 23:04:14 +0000 (01:04 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 24 Aug 2016 23:04:14 +0000 (01:04 +0200)
commit3f1057a4b62d8c94ae77f34f950b74a45499b218
treecb4815a4176534216b519be17cfe84b10ce74b54
parentf7507dd3e8ec84fe025c0ba82a9150275e2af9d9
method_call() and slot_tp_new() now uses fast call

Issue #27841: Add _PyObject_Call_Prepend() helper function to prepend an
argument to existing arguments to call a function. This helper uses fast calls.

Modify method_call() and slot_tp_new() to use _PyObject_Call_Prepend().
Include/abstract.h
Objects/abstract.c
Objects/classobject.c
Objects/typeobject.c