On 11/3/11, Chris Angelico <ros...@gmail.com> wrote: > Fascinating! Awesome to know!
> I did some introspection with this: > *snip* > > Variations on the theme show that during compilation of foo, the name > is normally cemented as either a global or a local - but if it's > keyword-only, then a LOAD_NAME opcode is emitted. It's the code for > LOAD_NAME that looks for locals, which presumably a lambda doesn't > have. What is the LOAD_NAME for? The non-keyword default doesn't seem to need it. -- http://mail.python.org/mailman/listinfo/python-list