ruff
[red-knot] Add basic subtyping between class literal and callable
#17469
Merged

[red-knot] Add basic subtyping between class literal and callable #17469

MatthewMckee4
MatthewMckee4 Add basic subtyping between class literal and callable
76f2b9b3
github-actions
MatthewMckee4
MatthewMckee4
ntBre ntBre added ty
MatthewMckee4 Improve subtyping by checking metaclass __call__
e7301754
MatthewMckee4 Only check overriding metaclass __call__
d8e52b7e
MatthewMckee4 MatthewMckee4 marked this pull request as ready for review 249 days ago
MatthewMckee4 MatthewMckee4 requested a review from carljm carljm 249 days ago
MatthewMckee4 MatthewMckee4 requested a review from AlexWaygood AlexWaygood 249 days ago
MatthewMckee4 MatthewMckee4 requested a review from sharkdp sharkdp 249 days ago
MatthewMckee4 MatthewMckee4 requested a review from dcreager dcreager 249 days ago
MatthewMckee4 MatthewMckee4 marked this pull request as draft 249 days ago
MatthewMckee4 Add overload example
ee94d6eb
MatthewMckee4 MatthewMckee4 marked this pull request as ready for review 249 days ago
MatthewMckee4 Update assignability tests
d2b2f810
MatthewMckee4 Remove assignability tests
b8bbf3cd
carljm
carljm commented on 2025-04-21
MatthewMckee4 Update tests and code to always respect metaclass call
eec00329
carljm tweak comment text
db542c96
carljm
carljm approved these changes on 2025-04-21
carljm carljm enabled auto-merge (squash) 249 days ago
carljm carljm merged 53ffe714 into main 249 days ago
MatthewMckee4 MatthewMckee4 deleted the subtyping-class-literal-callable branch 245 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone