bpo-35582: Argument Clinic: Optimize the "all boring objects" case. by serhiy-storchaka · Pull Request #11520 · python/cpython

Conversation

@serhiy-storchaka

Use _PyArg_CheckPositional() and inlined code instead of
PyArg_UnpackTuple() and _PyArg_UnpackStack() if all parameters
are positional and use the "object" converter.

https://bugs.python.org/issue35582

Use _PyArg_CheckPositional() and inlined code instead of
PyArg_UnpackTuple() and _PyArg_UnpackStack() if all parameters
are positional and use the "object" converter.

vstinner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Labels