[Python-ideas] Properties for classes possible?

Guido van Rossum guido at python.org
Thu Aug 20 17:29:13 CEST 2015


I think it's reasonable to propose @classproperty as a patch to CPython. It
needs to be C code. Not sure about the writable version. The lazy=True part
is not appropriate for th he stdlib (it's just a memoize pattern).

--Guido (on mobile)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150820/f4da1acc/attachment.html>


More information about the Python-ideas mailing list