Status of PEP's?

Carel Fellinger cfelling at iae.nl
Thu Feb 28 21:25:06 CET 2002


Emile van Sebille <emile at fenx.com> wrote:
> Hmmm... Gerson may have given higher marks to my prior sample, but this
> code is a bit cleaner without losing any of the evilness... ;-)
...
> for ii in dexing(mylist):
>     ii *= 4 #* ii

You evil wicked man:)

The downside is that it only works for sequences.
It's a no-go for lists, iterators and generators:(

-- 
groetjes, carel



More information about the Python-list mailing list