Arithmetic sequences in Python

Alex Martelli aleax at
Wed Jan 18 01:39:32 EST 2006

Tom Anderson <twic at> 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:-(.


More information about the Python-list mailing list