Steve Holden <[EMAIL PROTECTED]> writes:
> > Python even leaks the index variable of list comprehensions (I've
> > mostly stopped using them because of this), though that's a
> > recognized wart and is due to be fixed.
> >
> Wow, you really take non-pollution of the namespace seriously. I agree
> it's a wart, but it's one I have happily worked around since day one.

Well, the obvious workaround is just say "list(<some genexp>)"
instead of [<the same genexp>] so that's what I do.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to