[Python-ideas] New 3.x restriction on number of keyword arguments
solipsis at pitrou.net
Tue Oct 26 10:50:18 CEST 2010
Le lundi 25 octobre 2010 à 19:44 -0400, Eric Smith a écrit :
> 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.
Sure, but in the absence of anyone providing a patch for CPython, it is
still a possible resolution.
More information about the Python-ideas