ruff
[ty] Infer nested classes as read-only attributes
#29346
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
14
Changes
View On
GitHub
[ty] Infer nested classes as read-only attributes
#29346
carljm
merged 14 commits into
main
from
cjm/read-only-nested-classes
carljm
added
bug
carljm
added
ty
carljm
added
bug
carljm
added
ty
carljm
force pushed
from
a713e7fa
to
17761500
31 days ago
carljm
force pushed
from
17761500
to
13bec418
31 days ago
carljm
marked this pull request as ready for review
31 days ago
carljm
requested a review
31 days ago
astral-sh-bot
requested a review
from
ibraheemdev
31 days ago
carljm
force pushed
from
13bec418
to
1ba05bce
31 days ago
carljm
removed review request
from
ibraheemdev
31 days ago
carljm
requested a review
from
AlexWaygood
31 days ago
Base automatically changed from
cjm/typevar-attribute-writes
to
main
31 days ago
carljm
force pushed
from
1ba05bce
to
de50d5e9
31 days ago
carljm
marked this pull request as draft
31 days ago
carljm
force pushed
from
de50d5e9
to
0cfc3472
19 days ago
carljm
force pushed
from
14593684
to
606508f9
5 days ago
carljm
changed the base branch from
main
to
cjm/descriptor-write-contracts
5 days ago
carljm
force pushed
from
606508f9
to
d404d383
5 days ago
carljm
marked this pull request as ready for review
4 days ago
Base automatically changed from
cjm/descriptor-write-contracts
to
main
3 days ago
[ty] Infer nested classes as read-only attributes
742a3978
carljm
force pushed
from
d404d383
to
742a3978
3 days ago
AlexWaygood
commented on 2026-11-11
[ty] Simplify writes to conditional nested descriptors and clarify at…
df313404
carljm
requested a review
from
sharkdp
3 days ago
sharkdp
commented on 2026-11-12
[ty] Consolidate and clarify nested class attribute tests
35c762b0
sharkdp
approved these changes on 2026-11-12
[ty] Allow writes when a decorator replaces a nested class
1c187410
[ty] Clarify class and instance access to nested descriptors
46eca631
[ty] Explain how the inherited descriptor handles annotated writes
c0250980
[ty] Test metaclass descriptor precedence for nested classes
9c56ea67
[ty] Clarify which nested class overrides are compatible
a37cb169
[ty] Clarify names of invalid protocol implementations in tests
d24bdc84
[ty] Simplify setter values in the nested descriptor protocol test
95935f04
[ty] Clarify when attribute reads widen class literals
d66bbd48
[ty] Return the instance attribute write requirement directly
14ca64ae
[ty] Borrow resolved members when checking instance writes
f676e9b6
Merge main and reconcile nested classes with qualifier inference
c2d14afc
carljm
merged
e1ce434f
into main
2 days ago
carljm
deleted the cjm/read-only-nested-classes branch
2 days ago
Login to write a write a comment.
Login via GitHub
Reviewers
sharkdp
AlexWaygood
Assignees
No one assigned
Labels
bug
ty
Milestone
No milestone
Login to write a write a comment.
Login via GitHub