KEMBAR78
Support typing.Annotated on top of typing_extensions.Annotated by jstasiak · Pull Request #8371 · python/mypy · GitHub
Skip to content

Conversation

jstasiak
Copy link
Contributor

@jstasiak jstasiak commented Feb 5, 2020

This is to handle PEP 593 support recently merged into CPython[1].

I'm wondering what to do with this test-wise, as https://github.com/python/mypy/blob/39d6bde2ec7063bd2cec42cce9295479e744bcc7/test-data/unit/check-annotated.test is full of imports from typing_extensions and ideally, when running mypy tests on CPython nightly, tests would also import Annotated from typing. But maybe it's not worth it right now.

[1] python/cpython#18260

This is to handle PEP 593 support recently merged into CPython[1].

[1] python/cpython#18260
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants