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 asvetlov
Recipients JacobHayes, asvetlov
Date 2021-12-09.13:14:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1639055689.16.0.0964611538744.issue45359@roundup.psfhosted.org>
In-reply-to
Content
`if TYPE_CHECKING:` is a good choice, it works fine just now.
`from __future__ import annotations` is another alternative.

I don't see a reason for REMOVING already existing and correct annotations from typeshed.
History
Date User Action Args
2021-12-09 13:14:49asvetlovsetrecipients: + asvetlov, JacobHayes
2021-12-09 13:14:49asvetlovsetmessageid: <1639055689.16.0.0964611538744.issue45359@roundup.psfhosted.org>
2021-12-09 13:14:49asvetlovlinkissue45359 messages
2021-12-09 13:14:49asvetlovcreate