ruff
[`red-knot`] Allow subclasses of Any to be assignable to Callable types
#17717
Merged

[`red-knot`] Allow subclasses of Any to be assignable to Callable types #17717

Kalmaegi
Kalmaegi Kalmaegi requested a review from carljm carljm 228 days ago
Kalmaegi Kalmaegi requested a review from AlexWaygood AlexWaygood 228 days ago
Kalmaegi Kalmaegi requested a review from sharkdp sharkdp 228 days ago
Kalmaegi Kalmaegi requested a review from dcreager dcreager 228 days ago
github-actions
AlexWaygood AlexWaygood added ty
AlexWaygood AlexWaygood removed review request from AlexWaygood AlexWaygood 228 days ago
carljm
carljm requested changes on 2025-04-29
Kalmaegi Kalmaegi marked this pull request as draft 227 days ago
Kalmaegi Kalmaegi marked this pull request as ready for review 227 days ago
Kalmaegi
sharkdp
Kalmaegi
Kalmaegi Kalmaegi marked this pull request as draft 227 days ago
Kalmaegi Allow subclasses of Any to be assignable to all types
1d0b090f
Kalmaegi adjust logic
3b3f6444
Kalmaegi adjust comment
fe1864a5
Kalmaegi add missing '!' in final type check
afb9c5f8
Kalmaegi add red_knot test for Subclasses of Any should be assignable to Callable
2b76f640
Kalmaegi adjust red_knot test for Subclasses of Any should be assignable to Ca…
eb9cd7d0
Kalmaegi improve Any assignment check for final and literal types
b1ed9e44
Kalmaegi remove blank line
3b0f5907
Kalmaegi add comments
d64135b2
Kalmaegi fmt
5bd55ca3
Kalmaegi fmt
3abac678
Kalmaegi fmt
de1cc577
sharkdp sharkdp force pushed from af5630d2 to 46d6758a 226 days ago
sharkdp sharkdp marked this pull request as ready for review 226 days ago
sharkdp Various minor fixes
7fa57675
sharkdp sharkdp force pushed from 46d6758a to 7fa57675 226 days ago
sharkdp
sharkdp approved these changes on 2025-05-01
sharkdp sharkdp changed the title [`red-knot`] Allow subclasses of Any to be assignable to all types [`red-knot`] Allow subclasses of Any to be assignable to Callable types 226 days ago
sharkdp sharkdp merged 76ec64d5 into main 226 days ago
Kalmaegi

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone