[red-knot] Add basic subtyping between class literal and callable #17469
Add basic subtyping between class literal and callable
76f2b9b3
Improve subtyping by checking metaclass __call__
e7301754
Only check overriding metaclass __call__
d8e52b7e
MatthewMckee4
marked this pull request as ready for review 249 days ago
Add overload example
ee94d6eb
MatthewMckee4
marked this pull request as ready for review 249 days ago
Update assignability tests
d2b2f810
Remove assignability tests
b8bbf3cd
carljm
commented
on 2025-04-21
Update tests and code to always respect metaclass call
eec00329
tweak comment text
db542c96
carljm
approved these changes
on 2025-04-21
carljm
enabled auto-merge (squash) 249 days ago
carljm
merged
53ffe714
into main 249 days ago
MatthewMckee4
deleted the subtyping-class-literal-callable branch 245 days ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub