list comprehensions put non-names into namespaces!

Just just at xs4all.nl
Fri May 26 14:20:14 EDT 2006


In article <mailman.6256.1148666976.27775.python-list at python.org>,
 "Terry Reedy" <tjreedy at udel.edu> wrote:

> "Mel Wilson" <mwilson-to at sympatico.ca> wrote in message 
> news:7hBdg.2071$ho5.166428 at news20.bellglobal.com...
> > Point of information, would this be the interpreter putting
> > the result of its last calculation in _ ?
> 
> Yes, [ ... ]

No, actually. It's an implementation detail of list comps.



More information about the Python-list mailing list