[Python-ideas] New 3.x restriction on number of keyword arguments

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Fri Oct 22 20:52:01 CEST 2010

2010/10/22 Cesare Di Mauro <cesare.di.mauro at 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

More information about the Python-ideas mailing list