Emanuel Barry added the comment:

I was under the impression that they would work without any additional work (as 
they'd have access to the outer scope). Of course, trying to access a local 
variable would be an error as it's not yet defined.

My point is more that we shouldn't have to account for such a small case - if 
they can be used, then let them be used, and if they can't, then don't (unless 
the modification is straightforward, which it might not be).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25179>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to