[issue18478] Class bodies: when does a name become local?

Terry J. Reedy report at bugs.python.org
Sat Apr 5 21:25:05 CEST 2014


Terry J. Reedy added the comment:

After seeing my suggestion applied, I decided I don't like it. Sorry. A 'function code block' is a 'function suite'. A deeper problem is that the revision now omits the rules for classes. The base problem is that I don't know what the rules are when classes and functions are nested within each other (does anybody, without reading the code?). A puzzling example was posted on python-list yesterday, which I will try to find.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18478>
_______________________________________


More information about the Python-bugs-list mailing list