On 11/4/2011 3:10 PM, Joshua Landau wrote:
> >> def x(nonlocal_var): ... def y(): ... z = lambda *, keyword_only=nonlocal_var: None ... return y ... >>> x(None)()
...
SystemError: no locals when loading 'nonlocal_var'
...
Now - where shall I report this?
Joshua found bugs.python.org and, 2 hours later, a fix was applied. http://bugs.python.org/issue13343 -- Terry Jan Reedy -- http://mail.python.org/mailman/listinfo/python-list