[issue41523] functools.cached_property does not satisfy the property check

Raymond Hettinger report at bugs.python.org
Mon Aug 17 23:08:40 EDT 2020


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

I recommend closing this.

As Serhiy pointed out, they are profoundly different.  Currently, a user can rely on the isinstance() check to differentiate them.  So, changing the behavior would be a regression.

AFAICT, a user would not be able to deduce anything useful from the isinstance() check returning True in all three cases.  Essentially, all they have in common is the concept of caching; otherwise, the mechanisms and implications are entirely unrelated.

----------
nosy: +rhettinger

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


More information about the Python-bugs-list mailing list