Message330021
> Guido van Rossum <guido@python.org> 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? |
|
Date |
User |
Action |
Args |
2018-11-17 06:11:43 | methane | set | recipients:
+ methane, gvanrossum, vstinner, carljm, serhiy.storchaka, levkivskyi, sir-sigurd, mwilbz |
2018-11-17 06:11:43 | methane | link | issue34995 messages |
2018-11-17 06:11:42 | methane | create | |
|