commit | cb2128cada922741381bcb6ee73a33842a9a43db | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Thu Dec 15 09:05:11 2016 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Thu Dec 15 09:05:11 2016 +0100 |
tree | 2bb8be4f82d94b81d5e590c81115df7414578be8 | |
parent | 0bf590627b14b9ffab4a24c49a8e21b7ff49886d [diff] |
_asyncio uses _PyObject_CallMethodIdObjArgs() Issue #28920: Replace _PyObject_CallMethodId(obj, meth, "O", arg) with _PyObject_CallMethodIdObjArgs(obj, meth, arg, NULL) to avoid _PyObject_CallMethodId() special case when arg is a tuple. If arg is a tuple, _PyObject_CallMethodId() unpacks the tuple: obj.meth(*arg).