[ty] Support `@classmethod` and `@staticmethod` protocol members #26331
charliermarsh
force pushed
from
f94a50c7
to
2b1d82c9
23 hours ago
charliermarsh
force-pushed the
charlie/protocol-property-check-2
branch
from
fe5b312f
to
6a4d154a
23 hours ago
charliermarsh
force-pushed the
charlie/protocol-property-check-2
branch
from
6a4d154a
to
3ecc9e25
22 hours ago
charliermarsh
force pushed
from
28a6e0f8
to
2a7943db
22 hours ago
charliermarsh
force-pushed the
charlie/protocol-property-check-2
branch
from
f14590d0
to
68f78835
21 hours ago
charliermarsh
force pushed
from
2a7943db
to
d3424164
21 hours ago
charliermarsh
force-pushed the
charlie/protocol-property-check-2
branch
from
68f78835
to
03ebd607
19 hours ago
charliermarsh
force pushed
from
d3424164
to
0b9d0b63
19 hours ago
[ty] Implement protocol property check
a0e3b953
Refactor
2c2809e3
Fix property setter accepting Any; custom descriptor whose __set__ re…
5ea6a362
Fix lack of self binding
cd1f981a
[ty] Adapt protocol property checks to current main
460ddfd5
[ty] Model protocol member access capabilities
336baf3d
[ty] Resolve protocol property types lazily
6a3a9d64
[ty] Avoid eager protocol property checks
60ffbdee
[ty] Derive protocol member capabilities from member kind
fa82d8d2
[ty] Accept class and static method protocol implementations
9970ac7e
[ty] Bind explicitly typed protocol property getters
d0f03e2f
[ty] Defer annotated self protocol members
a51d8a53
[ty] Avoid expensive class-object property checks
c96a1dd1
[ty] Clarify ClassVar protocol member capabilities
111f9522
[ty] Document attribute write resolution
4c370d61
[ty] Simplify protocol attribute write handling
aa8c026b
[ty] Ignore property setter return types for protocols
87f59ddf
[ty] Name protocol member access modes
90e4d11a
[ty] Encode protocol member type states
019248c7
[ty] Pre-resolve instance attribute writes
9f1605f1
[ty] Restore portable NumPy mdtest expectation
8b47a75b
[ty] Bind Self in protocol member assignments
bd15b260
[ty] Bind Self in property setters
ec5de640
[ty] Preserve relations for descriptor writes
06d76e31
[ty] Preserve relations for setattr writes
a9b4706f
[ty] Include mutable attributes in protocol disjointness
f1a1a9ab
[ty] Avoid duplicate protocol method constraints
e06449e9
[ty] Preserve recursive protocol method cycles
6c70f082
[ty] Widen literals for protocol property writes
f16fec46
[ty] Avoid writes for unsupported protocol methods
a1ddad17
[ty] Expand hydra-zen diagnostic cap
8cc09bf0
charliermarsh
force-pushed the
charlie/protocol-property-check-2
branch
from
900a0972
to
8cc09bf0
17 hours ago
[ty] Support class and static protocol methods
402c5699
[ty] Preserve Self in overloaded protocol methods
cb5fd517
[ty] Bind Self through decorated protocol methods
c0c0e6c6
[ty] Recognize wrapped class and static methods
9617e951
[ty] Compare class protocol methods as bound
d1111c4f
charliermarsh
force pushed
from
0b9d0b63
to
d1111c4f
17 hours ago
charliermarsh
force-pushed the
charlie/protocol-property-check-2
branch
from
8cc09bf0
to
cd03c38e
14 hours ago
charliermarsh
force-pushed the
charlie/protocol-property-check-2
branch
from
efe20744
to
de7f2392
4 hours ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub