[issue1863] NameError with genexp in class scope

Facundo Batista report at bugs.python.org
Fri Jan 18 15:02:20 CET 2008


Facundo Batista added the comment:

Don't follow you:

>>> class C:
	a = 42
	list(a for _ in 'x')

>>> 

Works here! (Python 2.5.1 on win32)

----------
nosy: +facundobatista

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


More information about the Python-bugs-list mailing list