This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author georg.brandl
Recipients ajaksu2, georg.brandl, kaizhu
Date 2008-08-27.07:32:01
SpamBayes Score 5.087178e-06
Marked as misclassified No
Message-id <1219822323.94.0.192237714639.issue3692@psf.upfronthosting.co.za>
In-reply-to
Content
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()
History
Date User Action Args
2008-08-27 07:32:04georg.brandlsetrecipients: + georg.brandl, ajaksu2, kaizhu
2008-08-27 07:32:03georg.brandlsetmessageid: <1219822323.94.0.192237714639.issue3692@psf.upfronthosting.co.za>
2008-08-27 07:32:02georg.brandllinkissue3692 messages
2008-08-27 07:32:02georg.brandlcreate