[issue34995] functools.cached_property does not maintain the wrapped method's __isabstractmethod__
Serhiy Storchaka
report at bugs.python.org
Wed Oct 17 05:26:49 EDT 2018
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
The comment can serve the same purpose.
The caching affects the behavior at run time. Abstract methods should not be executed. The cached_property decorator is not inherited by overriding properties. I don't think that combining the cached_property and the @abstractmethod decorators should be supported.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34995>
_______________________________________
More information about the Python-bugs-list
mailing list