summaryrefslogtreecommitdiff
path: root/Python/thread_pthread.h
diff options
context:
space:
mode:
authorINADA Naoki <songofacandy@gmail.com>2017-01-19 12:50:34 +0100
committerINADA Naoki <songofacandy@gmail.com>2017-01-19 12:50:34 +0100
commit01939eaa796ffc91b1784042c57123c7a2a35a3d (patch)
tree461644abf61c68a1044f552c704c1bf0a983b149 /Python/thread_pthread.h
parent1c9596159bb39c2767bddedaa0dea93a945e7d2e (diff)
downloadcpython-01939eaa796ffc91b1784042c57123c7a2a35a3d.tar.gz
Issue #29296: convert print() to METH_FASTCALL
* Replace PyArg_ParseTupleAndKeywords() with _PyArg_ParseStackAndKeywords() which is more efficient to parse keywords, since it decodes only keywords (char*) from UTF-8 once, instead of decoding at each call. * METH_FASTCALL avoids the creation of a temporary tuple to pass positional arguments. Patch written by INADA Naoki, pushed by Victor Stinner.
Diffstat (limited to 'Python/thread_pthread.h')
0 files changed, 0 insertions, 0 deletions