[issue1863] NameError with genexp in class scope

Georg Brandl report at bugs.python.org
Fri Jan 18 17:44:16 CET 2008


Georg Brandl added the comment:

Amaury Forgeot d'Arc schrieb:

> Well, I'm not sure that the genexpr can be considered as a "method", but
> it is certainly a nested code block.

Technically it is a method, that's why this happens. I added a note to the
docs in r60051; closing this as "won't fix".

----------
nosy: +georg.brandl
resolution:  -> wont fix
status: open -> closed

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1863>
__________________________________


More information about the Python-bugs-list mailing list