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 sobolevn
Recipients gvanrossum, kj, sobolevn
Date 2021-09-25.18:39:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1632595180.51.0.422830920693.issue45283@roundup.psfhosted.org>
In-reply-to
Content
Thank you, Ken Jin! Very clear explanation!

> It seems the current consensus is to use that import for code with purely static typing, and not use it with runtime typing libraries.

Is it an official position? Or just a common usage pattern?
What can we do to make this more widely known?

Maybe we can formulate something like "When to use: raw, string, future annotations" in the typing docs (https://docs.python.org/3/library/typing.html)?
History
Date User Action Args
2021-09-25 18:39:40sobolevnsetrecipients: + sobolevn, gvanrossum, kj
2021-09-25 18:39:40sobolevnsetmessageid: <1632595180.51.0.422830920693.issue45283@roundup.psfhosted.org>
2021-09-25 18:39:40sobolevnlinkissue45283 messages
2021-09-25 18:39:40sobolevncreate