You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reuse stdlib PEP 593 implementation in typing_extensions if present (#699)
Following [1] this prevents multiple runtime implementations of Annotated
and get_type_hints from existing on Python 3.9 (which has recently
merged PEP 593 changes[2]). Reexporting allows code targetting both
Python pre-3.9 and 3.9+ to be able to import from typing_extensions and
to keep working without changes.
[1] python/cpython#18260 (comment)
[2] python/cpython#18260
0 commit comments