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

Eric Smith eric at trueblade.com
Tue Oct 26 01:44:11 CEST 2010


On 10/22/2010 6:45 PM, Antoine Pitrou wrote:
> On Sat, 23 Oct 2010 00:36:30 +0200
> "M.-A. Lemburg"<mal at egenix.com>  wrote:
>>
>> It may seem strange to have functions, methods or object constructors
>> with more than 255 parameters, but as I said: when using code generators,
>> the generators don't care whether they use 100 or 300 parameters.
>
> Why not make the code generators smarter?

Because it makes more sense to fix it in one place than force the burden 
of coding around an arbitrary limit upon each such code generator.

Eric.



More information about the Python-ideas mailing list