[issue38553] Document functools.cached_property supports value updating and clearing

Laurie Opperman report at bugs.python.org
Mon Oct 21 23:16:10 EDT 2019


Laurie Opperman <laurie_opperman at hotmail.com> added the comment:

@hongweipeng What can be solved? Do you mean `functools.cached_property` should inherit `property`? First, this would break existing code dependant on the functionality of `functools.cached_property` (admittedly, Python 3.8 was release less than two weeks ago). Second, that seems like arbitrary restriction: I'd prefer just to update the documentation

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38553>
_______________________________________


More information about the Python-bugs-list mailing list