[issue45524] Cross-module dataclass inheritance breaks get_type_hints

Nikita Sobolev report at bugs.python.org
Sun Oct 24 04:35:06 EDT 2021


Nikita Sobolev <mail at sobolevn.me> added the comment:

In my opinion, it is never a bad thing to create a new issue :)

сб, 23 окт. 2021 г. в 22:46, Sergei Lebedev <report at bugs.python.org>:

>
> Sergei Lebedev <slebedev at google.com> added the comment:
>
> Is it worth filing a separate issue for locals()?
>
> In my experience local classes are less common than cross-module
> inheritance, so I suspect that the chances of someone accidentally hitting
> lack of locals() forwarding are quite low. However, given how confusing the
> error message is, it might be worth having an issue for that. Wdyt?
>
> ----------
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <https://bugs.python.org/issue45524>
> _______________________________________
>

----------

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


More information about the Python-bugs-list mailing list