]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Use _PyObject_CallMethodIdObjArgs() in _asyncio
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 9 Dec 2016 13:24:02 +0000 (14:24 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 9 Dec 2016 13:24:02 +0000 (14:24 +0100)
commitb6ed57d9802c5aa381d72daad894166ef02c6e48
tree7b498d66cfa9f9de17e62a9730ad7e4662f053b2
parent070c4d7ca74f00336c1a959e6fabb4700643d70d
Use _PyObject_CallMethodIdObjArgs() in _asyncio

Issue #28915: Replace _PyObject_CallMethodId() with
_PyObject_CallMethodIdObjArgs() when the format string was only made of "O"
formats, PyObject* arguments.

_PyObject_CallMethodIdObjArgs() avoids the creation of a temporary tuple and
doesn't have to parse a format string.
Modules/_asynciomodule.c