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 bup
Recipients bup
Date 2017-03-19.23:37:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1489966652.17.0.834127602926.issue29855@psf.upfronthosting.co.za>
In-reply-to
Content
class Property:
    def __init__(self, getter):
        self.getter = getter

    def __get__(self, instance, cls):
        return self.getter(cls if instance is None else instance)

class MyClass:
    @Property
    def something(cls):
        return cls.something

Calling MyClass.something will show all 990+ RecursionError message.
History
Date User Action Args
2017-03-19 23:37:32bupsetrecipients: + bup
2017-03-19 23:37:32bupsetmessageid: <1489966652.17.0.834127602926.issue29855@psf.upfronthosting.co.za>
2017-03-19 23:37:32buplinkissue29855 messages
2017-03-19 23:37:32bupcreate