Commit e92d24b
Inspect property descriptor via type __dict__
Accessing an instance property through the class object now intentionally
raises (it must be accessed through an instance), so InstancePropertiesVisibleOnClass
can no longer use GetAttr to retrieve the descriptor. Read it from the
type's __dict__ instead, which bypasses the descriptor protocol.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent d55dcaa commit e92d24b
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
31 | 35 | | |
32 | 36 | | |
33 | 37 | | |
| |||
0 commit comments