Batuhan Taskaya <isidenti...@gmail.com> added the comment:
>From now on, should typing.get_type_hints automatically resolve arguments too? >An example would be this; import typing T = typing.TypeVar("T") class Loop(typing.Generic[T]): subloop: typing.Final["Loop[int]"] print(typing.get_type_hints(Loop)) >>> {'subloop': typing.Final[__main__.Loop[int]]} If we run the same code under future annotations >>> {'subloop': typing.Final[ForwardRef('Loop[int]')]} ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38605> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com