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

Antoine Pitrou solipsis at pitrou.net
Fri Oct 22 19:53:19 CEST 2010


On Fri, 22 Oct 2010 18:44:08 +0100
MRAB <python at mrabarnett.plus.com> wrote:
> On 22/10/2010 08:18, Cesare Di Mauro wrote:
> >
> > I think that having max 255 args and 255 kwargs is a good and reasonable
> > limit which we can live on, and helps the virtual machine implementation
> > (and implementors :P).
> >
> > Python won't lose its "power" and "generality" if one VM (albeit the
> > "mainstream" / "official" one) have some limits.
> >
> > We already have some other ones, such as max 65536 constants, names,
> > globals and locals. Another one is the maximum 20 blocks for code
> > object. Who thinks that such limits must be removed?
> >
> The BDFL thinks that 255 is too low.

The BDFL can propose a patch :)

Cheers

Antoine.





More information about the Python-ideas mailing list