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 methane
Recipients methane, mwilbz, serhiy.storchaka
Date 2018-10-20.13:38:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1540042688.34.0.788709270274.issue34995@psf.upfronthosting.co.za>
In-reply-to
Content
I agree with Serhiy.

For static hinting, `@property` should be enough.
I think tools like mypy should support this pattern:

class MyABC(metaclass=ABCMeta):
    @property
    @abstractmethod
    def myprop(self):
        ...

class MyConcrete(MyABC):
    @cached_property
    def myprop(self):
        return self._some_heavy_work()
History
Date User Action Args
2018-10-20 13:38:08methanesetrecipients: + methane, serhiy.storchaka, mwilbz
2018-10-20 13:38:08methanesetmessageid: <1540042688.34.0.788709270274.issue34995@psf.upfronthosting.co.za>
2018-10-20 13:38:08methanelinkissue34995 messages
2018-10-20 13:38:08methanecreate