[issue36466] Adding a way to strip annotations from compiled bytecode

Raymond Hettinger report at bugs.python.org
Wed Apr 3 20:53:50 EDT 2019


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

FYI, this partially breaks functools.singledispatch() and completely breaks both typing.NamedTuple() and dataclasses.dataclass().  A user may be able to avoid these in their own code, but I don't see how they can avoid it in third-party code.

----------

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


More information about the Python-bugs-list mailing list