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 steven.daprano
Recipients prasechen, steven.daprano
Date 2022-02-17.13:18:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645103931.29.0.720420504533.issue46776@roundup.psfhosted.org>
In-reply-to
Content
Maybe you expected to do this:

class C:
    def __init__(self):
        self._value = 999

    @property
    def bar(self):
        return self._value

obj = C()
obj.bar  # returns 999
History
Date User Action Args
2022-02-17 13:18:51steven.dapranosetrecipients: + steven.daprano, prasechen
2022-02-17 13:18:51steven.dapranosetmessageid: <1645103931.29.0.720420504533.issue46776@roundup.psfhosted.org>
2022-02-17 13:18:51steven.dapranolinkissue46776 messages
2022-02-17 13:18:51steven.dapranocreate