PEP 276 (was Re: Status of PEP's?)

Emile van Sebille emile at fenx.com
Sat Mar 2 02:04:31 EST 2002


"Carel Fellinger"
> You specify that the
> integer to iterate over should be possitive, why not allow for
> negative values and do the sensible thing, like:
> 
>    >>> [i for i in -3]
>    [-1, -2, -3]

If you change the sensible thing to mean:

  [-3, -2, -1]

I'd like it better.  ;-)


Emile van Sebille
emile at fenx.com






More information about the Python-list mailing list