>>>>> "Duncan" == Duncan Booth <[EMAIL PROTECTED]> writes: Duncan> Terry Jones <[EMAIL PROTECTED]> wrote: >> Duncan Booth wrote:
Duncan> You'll kick yourself for not seeing it. Duncan> If you changed fn_inner to: Duncan> def fn_inner(): Duncan> a, v = v, a Duncan> then you also changed 'a' and 'v' into local variables. Duncan> LOAD/STORE_FAST is used to access local variables, LOAD/STORE_DEREF Duncan> are used to access variables in an outer scope. Argh, yes :-) [Cue background sound of kicking self] Thanks. Terry -- http://mail.python.org/mailman/listinfo/python-list