[New-bugs-announce] [issue20234] Argument Clinic: use PyTuple_GET_SIZE?

Georg Brandl report at bugs.python.org
Mon Jan 13 07:56:42 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>

More information about the New-bugs-announce mailing list