ruff
[ty] Narrow generic type classinfo in `isinstance` and `issubclass`
#24998
Open

[ty] Narrow generic type classinfo in `isinstance` and `issubclass` #24998

charliermarsh wants to merge 8 commits into main from charlie/isinstance-type-narrowing
charliermarsh
astral-sh-bot astral-sh-bot added ty
charliermarsh charliermarsh changed the title [ty] Narrow generic type classinfo in isinstance and issubclass [ty] Narrow generic type classinfo in `isinstance` and `issubclass` 58 days ago
astral-sh-bot
astral-sh-bot
astral-sh-bot
charliermarsh charliermarsh marked this pull request as ready for review 54 days ago
charliermarsh charliermarsh requested a review from carljm carljm 54 days ago
charliermarsh charliermarsh requested a review from AlexWaygood AlexWaygood 54 days ago
charliermarsh charliermarsh requested a review from sharkdp sharkdp 54 days ago
charliermarsh charliermarsh requested a review from dcreager dcreager 54 days ago
charliermarsh charliermarsh requested a review from ibraheemdev ibraheemdev 54 days ago
astral-sh-bot astral-sh-bot assigned carljm carljm 54 days ago
charliermarsh charliermarsh added this to the v0.15 milestone 54 days ago
charliermarsh charliermarsh removed this from to the v0.15 milestone 54 days ago
charliermarsh charliermarsh marked this pull request as draft 53 days ago
charliermarsh charliermarsh force pushed from 2d7ec2c8 to 44a28fa2 42 days ago
charliermarsh [ty] Narrow generic type classinfo in isinstance and issubclass
d1c0f570
charliermarsh charliermarsh force pushed from 44a28fa2 to d1c0f570 19 days ago
charliermarsh [ty] Ignore generic defaults in runtime class narrowing
727e7010
charliermarsh [ty] Preserve final generic runtime class objects
c13a251f
charliermarsh [ty] Test generic type classinfo in issubclass
97995d09
charliermarsh [ty] Preserve generic bounds in runtime narrowing
1ce03894
charliermarsh [ty] Preserve final generic class cardinality
be2f77e5
charliermarsh [ty] Preserve invariant bounds in runtime narrowing
737c538a
charliermarsh [ty] Cover runtime narrowing for advanced type variables
13d2a77c
lerebear lerebear removed review request from dcreager dcreager 16 days ago
lerebear lerebear removed review request from sharkdp sharkdp 16 days ago
lerebear lerebear removed review request from ibraheemdev ibraheemdev 16 days ago
lerebear lerebear removed review request from AlexWaygood AlexWaygood 16 days ago
lerebear lerebear unassigned carljm carljm 16 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone