Georg Brandl <[EMAIL PROTECTED]> added the comment: This won't change -- in 3.0, list comprehensions and generator expressions are both implemented using a function, so it's like the following:
class Foo: attribute1 = 1 def f(): return attribute1 attribute2 = f() ---------- nosy: +georg.brandl resolution: -> wont fix status: open -> closed _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3692> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com