[issue46571] Strange `@typing.no_type_check` behavior for class variables

Alex Waygood report at bugs.python.org
Sat Jan 29 09:24:02 EST 2022


Alex Waygood <Alex.Waygood at Gmail.com> added the comment:

...Option 3). Deprecate @no_type_check?

Maybe we should gather some stats on how many people are using @no_type_check? My feeling is that it's never achieved widespread adoption, so maybe it's just not that useful a thing to have in the stdlib.

Anyway, the behaviour you've pointed out is nuts, so I agree that something needs to change here!

----------

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


More information about the Python-bugs-list mailing list