[Edu-sig] implementing summation notation (in Scheme &
Python)
Kirby Urner
pdx4d@teleport.com
Mon, 04 Jun 2001 11:36:57 -0700
>augmented assignment is a 'name binding operation', which causes the
>name 'a' to be used a a local variable in 'bar' rather than included
>from the containing scope ('foo'). Note that this is done at compile
>time, not runtime as you suggested (there isn't much of a difference
>in Python, but there is one), because the function bar (like all
>functions) was fully compiled before the call to it in foo.
>
Thanks for quoting the relevant PEP. Helpful.
Kirby