Skip to content

[ty] Add subdiagnostic hint when an open TypedDict is not assignable to a certain Mapping type, but it would be if it were closed - #27512

Open
AlexWaygood wants to merge 1 commit into
mainfrom
alex/open-typeddict-notassignable
Open

[ty] Add subdiagnostic hint when an open TypedDict is not assignable to a certain Mapping type, but it would be if it were closed#27512
AlexWaygood wants to merge 1 commit into
mainfrom
alex/open-typeddict-notassignable

Conversation

@AlexWaygood

Copy link
Copy Markdown
Member

@AlexWaygood AlexWaygood added ty Multi-file analysis & type inference diagnostics Related to reporting of diagnostics. labels Aug 5, 2026
@astral-sh-bot

astral-sh-bot Bot commented Aug 5, 2026

Copy link
Copy Markdown

Typing conformance results

No changes detected ✅

Current numbers
The percentage of diagnostics emitted that were expected errors held steady at 96.95%. The percentage of expected errors that received a diagnostic held steady at 92.58%. The number of fully passing files held steady at 104/133.

@astral-sh-bot

astral-sh-bot Bot commented Aug 5, 2026

Copy link
Copy Markdown

Memory usage report

Memory usage unchanged ✅

…e to a certain `Mapping` type, but it would be if it were closed
@AlexWaygood
AlexWaygood force-pushed the alex/open-typeddict-notassignable branch from 8e3fb13 to 79d8097 Compare August 5, 2026 16:00
@AlexWaygood
AlexWaygood marked this pull request as ready for review August 5, 2026 16:02
@AlexWaygood
AlexWaygood requested a review from a team as a code owner August 5, 2026 16:02
@astral-sh-bot
astral-sh-bot Bot requested a review from sharkdp August 5, 2026 16:02
@astral-sh-bot

astral-sh-bot Bot commented Aug 5, 2026

Copy link
Copy Markdown

ecosystem-analyzer results

No diagnostic changes detected ✅

Flaky changes detected. This PR summary excludes flaky changes; see the HTML report for details.

Full report with detailed diff (timing results)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

diagnostics Related to reporting of diagnostics. ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reinterpreting a TypedDict with uniform value types as a Mapping

1 participant