[issue20234] Argument Clinic: use PyTuple_GET_SIZE?

Georg Brandl report at bugs.python.org
Mon Jan 13 07:56:43 CET 2014


New submission from Georg Brandl:

In the presence of [ ] , clinic generates PyTuple_Size() calls.

Since argument tuples always are tuples, you can use the macro form PyTuple_GET_SIZE() to speed it up.

----------
assignee: larry
messages: 208007
nosy: georg.brandl, larry
priority: normal
severity: normal
status: open
title: Argument Clinic: use PyTuple_GET_SIZE?

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20234>
_______________________________________


More information about the Python-bugs-list mailing list