Arithmetic sequences in Python

Alex Martelli aleax at mail.comcast.net
Wed Jan 18 01:39:32 EST 2006


Tom Anderson <twic at urchin.earth.li> wrote:
   ...
> Sounds good. More generally, i'd be more than happy to get rid of list
> comprehensions, letting people use list(genexp) instead. That would 
> obviously be a Py3k thing, though.

I fully agree, but the BDFL has already (tentatively, I hope) Pronounced
that the [...] form will stay in Py3K as syntax sugar for list(...).  I
find that to be a truly hateful prospect, but that's the prospect:-(.


Alex



More information about the Python-list mailing list