Lambda forms and scoping

Márcio Faustino m.faustino at
Sat Mar 21 15:40:00 CET 2009

On Mar 20, 12:28 pm, "R. David Murray" <rdmur... at> wrote:
> Hope this helps.  I find that thinking in terms of namespaces helps
> me understand how Python works better than any other mental model
> I've come across.

It does, thanks.

On Mar 20, 12:41 pm, Michele Simionato <michele.simion... at>
> This post
> and especially the comments
> below should share some light on why it is the way it is (short
> answer: for loops are
> implemented by mutating the loop variable at each iteration).

Thanks for the link.

More information about the Python-list mailing list