[issue26758] Unnecessary format string handling for no argument slot wrappers in typeobject.c

2016-12-26 Thread INADA Naoki
INADA Naoki added the comment: fixed via https://hg.python.org/cpython/rev/adcd9131b7c6 -- nosy: +inada.naoki resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue26758] Unnecessary format string handling for no argument slot wrappers in typeobject.c

2016-04-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If I correctly understood, there is no visible bug, but there is a suboptimal code. The patch is welcome. -- stage: -> needs patch type: behavior -> performance versions: -Python 3.5 ___ Python tracker

[issue26758] Unnecessary format string handling for no argument slot wrappers in typeobject.c

2016-04-14 Thread SilentGhost
Changes by SilentGhost : -- nosy: +serhiy.storchaka type: -> behavior ___ Python tracker ___

[issue26758] Unnecessary format string handling for no argument slot wrappers in typeobject.c

2016-04-14 Thread Josh Rosenberg
New submission from Josh Rosenberg: Right now, in typeobject.c, the call_method and call_maybe utility functions have a fast path for no argument methods, where a NULL or "" format string just calls PyTuple_New(0) directly instead of wasting time parsing Py_VaBuildValue. Problem is, nothing