On Wednesday 12 December 2012 20:14:08 Chris Angelico wrote:

Ok enough already, I'll use the frigging thing!

Be happy I'm at least still not coding for python 1.5.

> To add to this: Using enumerate gives the possibility (don't know if
> any current interpreter takes advantage or not, but a future one
> certainly could) that the enumerate() call could be optimized out.
> Yes, it's theoretically possible that someone could redefine
> enumerate, which would be broken by such an optimization. But all it'd
> take is some kind of directive-based optimization and voila, safe
> performance improvements.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to