Feature or enhancement
As discussed at the typing summit, non generic TypedDict's completely loose all inheritance information. Funny enough, generic TypedDict's actually preserve it via __orig_bases__ because Generic does that. So this just brings non-generic TypedDicts to be the same.
Pitch
This is very useful for runtime type checkers, and as per above the attribute already exists for generic TypedDicts
Previous discussion
Discussed at PyCon 2023 typing summit, this was an uncontroversial yes at the time.
Linked PRs
Feature or enhancement
As discussed at the typing summit, non generic TypedDict's completely loose all inheritance information. Funny enough, generic TypedDict's actually preserve it via
__orig_bases__because Generic does that. So this just brings non-generic TypedDicts to be the same.Pitch
This is very useful for runtime type checkers, and as per above the attribute already exists for generic TypedDicts
Previous discussion
Discussed at PyCon 2023 typing summit, this was an uncontroversial yes at the time.
Linked PRs
__orig_bases__to various typing classes #103698