-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Milestone
Description
Why:
- This kind of TypedDict was introduced in the era of Python 3.7, which is no longer supported by trycast.
- It is reasonable (in @davidfstr 's opinion) to encourage other users to migrate to a version of TypedDict from the standard library (Python 3.9+) or from typing_extensions (Python 3.8).
- Extra code is required to support this very old kind of TypedDict.
Timing:
- Suggest actually dropping mypy_extensions.TypedDict support at the same time as dropping support for Python 3.8, because then the
trycast(strict=...)
parameter (which involves both Python 3.8's TypedDict and mypy_extensions.TypedDict, and nothing else) can becleanly removedsimplified at the same time
Metadata
Metadata
Assignees
Labels
No labels