2010/10/22 Marcin 'Qrczak' Kowalczyk qrczak@knm.org.pl
2010/10/22 Cesare Di Mauro cesare.di.mauro@gmail.com:
I think that having more than 255 arguments for a function call is a very rare case for which a workaround (may be passing a tuple/list or a dictionary) can be a better solution than having to introduce a brand new opcode to handle it.
It does not need a new opcode. The bytecode can create an argument tuple explicitly and pass it like it passes *args.
-- Marcin Kowalczyk
It'll be too slow. Current CALL_FUNCTION* uses "packed" ints, not PyLongObject ints.
Having a tuple you need (at least) to extract the PyLongs, and convert them to ints, before using them.
Cesare