ruff
[ty] Fix inference of `t.__mro__` if `t` is an instance of `type[Any]`
#23632
Merged

[ty] Fix inference of `t.__mro__` if `t` is an instance of `type[Any]` #23632

AlexWaygood
claude [ty] Fix `type[Any].__mro__` incorrectly inferred as `Any`
2d5a74da
claude Move `type[Any].__mro__` test from mro.md to call/type.md
932011e9
claude Intersect type[Any]/type[Unknown] metaclass attributes with Unknown
88c3d6fb
claude Use IntersectionType::from_two_elements for Unknown intersection
f3761441
claude Preserve Dynamic subvariant in type[Any]/type[Unknown] intersections
b5f1c32a
AlexWaygood AlexWaygood added ty
astral-sh-bot
astral-sh-bot
astral-sh-bot
claude Apply mdformat formatting to call/type.md
d043fbae
AlexWaygood AlexWaygood marked this pull request as ready for review 2 days ago
AlexWaygood AlexWaygood requested a review from carljm carljm 2 days ago
AlexWaygood AlexWaygood requested a review from sharkdp sharkdp 2 days ago
AlexWaygood AlexWaygood requested a review from dcreager dcreager 2 days ago
AlexWaygood AlexWaygood requested a review from ibraheemdev ibraheemdev 2 days ago
astral-sh-bot astral-sh-bot assigned ibraheemdev ibraheemdev 2 days ago
carljm
carljm approved these changes on 2026-02-28
AlexWaygood AlexWaygood merged 329b7132 into main 2 days ago
AlexWaygood AlexWaygood deleted the claude/fix-mro-type-inference-rUVuN branch 2 days ago

Login to write a write a comment.

Login via GitHub

Assignees
Labels
Milestone