Page MenuHomeSolus

Update python-typing-extensions to

Authored by algent on Aug 27 2020, 7:32 PM.




  • Add tox tests
  • Add PEP 613 TypeAlias
  • Add SupportsIndex, added in Python 3.8
  • Fix required and optional keys inheritance for TypedDict
  • Replace asyncio.coroutine with async-await
  • Reuse stdlib PEP 593 implementation in typing_extensions if present
  • Backport get_origin() and get_args()
  • Track optional TypdeDict keys
  • Accept arbitrary keyword names in NamedTuple() and TypedDict()

Signed-off-by: Algent Albrahimi <>

Test Plan

Update python-mypy against this version and check for errors with it in some python scripts.

Diff Detail

R4911 python-typing-extensions
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

algent created this revision.Aug 27 2020, 7:32 PM
algent requested review of this revision.Aug 27 2020, 7:32 PM
JoshStrobl accepted this revision.Sep 1 2020, 6:38 AM
JoshStrobl added a subscriber: JoshStrobl.

LGTM, thanks!

This revision is now accepted and ready to land.Sep 1 2020, 6:38 AM
This revision was automatically updated to reflect the committed changes.