changeset: 104786:950fbd75223b branch: 3.6 parent: 104784:db7bcd92cf85 user: Victor Stinner date: Sat Oct 29 09:05:39 2016 +0200 files: Modules/_asynciomodule.c description: Issue #28544: Fix inefficient call to _PyObject_CallMethodId() "()" format string creates an empty list of argument but requires extra work to parse the format string. diff -r db7bcd92cf85 -r 950fbd75223b Modules/_asynciomodule.c --- a/Modules/_asynciomodule.c Fri Oct 28 19:01:21 2016 -0400 +++ b/Modules/_asynciomodule.c Sat Oct 29 09:05:39 2016 +0200 @@ -152,7 +152,7 @@ Py_CLEAR(fut->fut_loop); fut->fut_loop = loop; - res = _PyObject_CallMethodId(fut->fut_loop, &PyId_get_debug, "()", NULL); + res = _PyObject_CallMethodId(fut->fut_loop, &PyId_get_debug, NULL); if (res == NULL) { return -1; }