[issue45524] Cross-module dataclass inheritance breaks get_type_hints
Sergei Lebedev
report at bugs.python.org
Tue Oct 19 12:14:29 EDT 2021
Sergei Lebedev <slebedev at google.com> added the comment:
I think the example has a minor typo.
The crash is reproducible on 3.9 if the last line in bar.py is
typing.get_type_hints(B.__init__)
instead of
typing.get_type_hints(B)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45524>
_______________________________________
More information about the Python-bugs-list
mailing list