This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author BTaskaya
Recipients BTaskaya, barry, brett.cannon, eric.smith, gvanrossum, levkivskyi, lukasz.langa, vstinner
Date 2020-05-28.10:51:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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]"]
>>> {'subloop': typing.Final[__main__.Loop[int]]}
If we run the same code under future annotations
>>> {'subloop': typing.Final[ForwardRef('Loop[int]')]}
Date User Action Args
2020-05-28 10:51:15BTaskayasetrecipients: + BTaskaya, gvanrossum, barry, brett.cannon, vstinner, eric.smith, lukasz.langa, levkivskyi
2020-05-28 10:51:15BTaskayasetmessageid: <>
2020-05-28 10:51:15BTaskayalinkissue38605 messages
2020-05-28 10:51:15BTaskayacreate