[issue38545] Implement setter and deleter on functools.cached_property

2019-10-21 Thread Laurie Opperman
Laurie Opperman added the comment: Turns out, that as a non-data descriptor, a cached property already has setting/updating and clearing through the normal mechanisms in Python. This feature request is therefore redundant: perhaps a new issue to document this inherent behaviour? Unless you

[issue38545] Implement setter and deleter on functools.cached_property

2019-10-21 Thread Laurie Opperman
Change by Laurie Opperman : -- keywords: +patch pull_requests: +16417 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16872 ___ Python tracker ___

[issue38545] Implement setter and deleter on functools.cached_property

2019-10-21 Thread Laurie Opperman
New submission from Laurie Opperman : Support setting/updating and clearing the cached value of a cached-property (getter implemented by bpo-21145). Pretty straight-forward to implement The question is whether cached-property updating should be: a) always allowed b) enabled with a