[ty] Support `@classmethod` and `@staticmethod` protocol members #26331
charliermarsh
force-pushed the
charlie/protocol-property-check-2
branch
from
fe5b312f
to
6a4d154a
6 days ago
charliermarsh
force-pushed the
charlie/protocol-property-check-2
branch
from
6a4d154a
to
3ecc9e25
6 days ago
charliermarsh
force-pushed the
charlie/protocol-property-check-2
branch
from
f14590d0
to
68f78835
6 days ago
charliermarsh
force-pushed the
charlie/protocol-property-check-2
branch
from
68f78835
to
03ebd607
6 days ago
charliermarsh
force-pushed the
charlie/protocol-property-check-2
branch
from
900a0972
to
8cc09bf0
6 days ago
charliermarsh
force-pushed the
charlie/protocol-property-check-2
branch
from
8cc09bf0
to
cd03c38e
6 days ago
charliermarsh
force-pushed the
charlie/protocol-property-check-2
branch
from
efe20744
to
de7f2392
5 days ago
charliermarsh
force-pushed the
charlie/protocol-property-check-2
branch
from
5c6e1ad5
to
dde55603
5 days ago
[ty] Implement protocol property check
3027ee9f
Refactor
91da9479
Fix property setter accepting Any; custom descriptor whose __set__ re…
c1ec12a8
Fix lack of self binding
cae29510
[ty] Adapt protocol property checks to current main
2c134ea1
[ty] Model protocol member access capabilities
ef6d6f7e
[ty] Resolve protocol property types lazily
76561488
[ty] Avoid eager protocol property checks
635be313
[ty] Derive protocol member capabilities from member kind
a0a372ef
[ty] Accept class and static method protocol implementations
945aedd3
[ty] Bind explicitly typed protocol property getters
d055d09d
[ty] Defer annotated self protocol members
dae2b1b2
[ty] Avoid expensive class-object property checks
ee69b089
[ty] Clarify ClassVar protocol member capabilities
3258f620
[ty] Document attribute write resolution
cfe86da6
[ty] Simplify protocol attribute write handling
2de21b91
[ty] Ignore property setter return types for protocols
0930197d
[ty] Name protocol member access modes
68664b8a
[ty] Encode protocol member type states
3eed75e3
[ty] Pre-resolve instance attribute writes
1e96f955
[ty] Restore portable NumPy mdtest expectation
c483a427
[ty] Bind Self in protocol member assignments
2a72f760
[ty] Bind Self in property setters
63670f33
[ty] Preserve relations for descriptor writes
6c9f05b0
[ty] Preserve relations for setattr writes
ad8848fe
[ty] Include mutable attributes in protocol disjointness
f52e780d
[ty] Avoid duplicate protocol method constraints
bda6e06b
[ty] Preserve recursive protocol method cycles
1a9c59e0
[ty] Widen literals for protocol property writes
71bbeff1
[ty] Avoid writes for unsupported protocol methods
1f76c02d
[ty] Expand hydra-zen diagnostic cap
138b02b1
[ty] Document protocol member access semantics
4b1c95e6
Move attribute assignment validation into builder module
0a8498a3
[ty] Distribute union writes across descriptor overloads
8f86bcff
charliermarsh
force-pushed the
charlie/protocol-property-check-2
branch
from
dde55603
to
8f86bcff
5 days ago
[ty] Support class and static protocol methods
d55d1ee2
[ty] Preserve Self in overloaded protocol methods
c61c4bed
[ty] Bind Self through decorated protocol methods
b8cced27
[ty] Recognize wrapped class and static methods
a34e98eb
[ty] Compare class protocol methods as bound
cf12531f
charliermarsh
force-pushed the
charlie/protocol-property-check-2
branch
from
8f86bcff
to
385851c0
5 days ago
charliermarsh
force-pushed the
charlie/protocol-property-check-2
branch
from
385851c0
to
0e47141c
5 days ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub