ruff
[ty] Fix MRO ordering for generic bases
#28172
Merged

[ty] Fix MRO ordering for generic bases #28172

charliermarsh merged 9 commits into main from charlie/fix-generic-mro
charliermarsh
charliermarsh charliermarsh added ty
astral-sh-bot
astral-sh-bot
astral-sh-bot
charliermarsh charliermarsh marked this pull request as ready for review 62 days ago
charliermarsh charliermarsh requested a review 62 days ago
astral-sh-bot astral-sh-bot requested a review from dcreager dcreager 62 days ago
charliermarsh charliermarsh removed review request from dcreager dcreager 61 days ago
charliermarsh charliermarsh requested a review from AlexWaygood AlexWaygood 61 days ago
AlexWaygood
charliermarsh
charliermarsh charliermarsh requested a review from carljm carljm 60 days ago
charliermarsh charliermarsh marked this pull request as draft 58 days ago
charliermarsh charliermarsh marked this pull request as ready for review 58 days ago
charliermarsh charliermarsh removed review request from carljm carljm 58 days ago
charliermarsh charliermarsh force pushed from befd116e to d0357bc1 53 days ago
AlexWaygood
AlexWaygood approved these changes on 2026-09-11
carljm
carljm
carljm
carljm commented on 2026-09-01
charliermarsh [ty] Fix MRO ordering for generic bases
bb968e93
charliermarsh [ty] Check generic base consistency per type argument
36be6791
charliermarsh [ty] Name generic base constraint types
5bf5f268
charliermarsh [ty] Snapshot conflicting generic base annotations
00ad9608
charliermarsh charliermarsh force pushed from d0357bc1 to 00ad9608 49 days ago
AlexWaygood
AlexWaygood commented on 2026-09-11
charliermarsh [ty] Preserve alternate generic ancestor specializations
be38b6ab
charliermarsh [ty] Check overrides against alternate generic specializations
0b1ad829
charliermarsh [ty] Simplify generic override checks and document ancestor traversal
5ce4cbee
charliermarsh [ty] Use FxIndexMap for duplicate MRO bases
e5e8439f
charliermarsh [ty] Deduplicate fallback MROs and keep object last
4a6ca797
charliermarsh charliermarsh marked this pull request as draft 49 days ago
charliermarsh charliermarsh marked this pull request as ready for review 49 days ago
astral-sh-bot astral-sh-bot requested a review from dcreager dcreager 49 days ago
charliermarsh charliermarsh removed review request from dcreager dcreager 49 days ago
charliermarsh charliermarsh merged 6dc30b0d into main 49 days ago
charliermarsh charliermarsh deleted the charlie/fix-generic-mro branch 49 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone