[Python-ideas] Tweaking closures and lexical scoping to include the function being defined
ncoghlan at gmail.com
Tue Sep 27 12:14:08 CEST 2011
On Tue, Sep 27, 2011 at 3:36 AM, Ron Adam <ron3200 at gmail.com> wrote:
> Don't give up just yet, I think you may just need an out of the box
> view point to see it from a different angle...
As far as I can see from the discussion so far, proposing 'nonlocal'
for this use case *is* the out of the box viewpoint seeing it from a
different angle ;)
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-ideas