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.14:31:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1590676264.12.0.753883462758.issue38605@roundup.psfhosted.org>
In-reply-to
Content
An example would be this https://github.com/python/cpython/blob/24bddc1b3b58f6899b2d412e51b37f68536e4fe2/Lib/test/test_typing.py#L2744-L2745. Either I can change tests in order to reflect now everything is a forward ref by default
class Loop:
    attr: Final['Loop']
to
class Loop:
    attr: Final[Loop]
or resolve everything on get_type_hints.
History
Date User Action Args
2020-05-28 14:31:04BTaskayasetrecipients: + BTaskaya, gvanrossum, barry, brett.cannon, vstinner, eric.smith, lukasz.langa, levkivskyi
2020-05-28 14:31:04BTaskayasetmessageid: <1590676264.12.0.753883462758.issue38605@roundup.psfhosted.org>
2020-05-28 14:31:04BTaskayalinkissue38605 messages
2020-05-28 14:31:04BTaskayacreate