INADA Naoki <[email protected]> added the comment:
> Guido van Rossum <[email protected]> added the comment: > > This is runtime behavior, mypy doesn't care either way. It triggers on the > presence of the decorator, not on what attributes it sets at runtime on the > object. > > But it's only motivation is static hinting. My point is, is cached_property important static hint? For example, do you want support cached_property in mypy Protocol with same semantics? ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue34995> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
