Commit 12e25cf
committed
Fix CI failures: staticmethod not callable and missing dunders
- Remove staticmethod wrapper from numpy on_import lambda since the
value is stored as a slot attribute, not a class attribute
- Add __call__, __iter__, __bool__ dunder methods to _coconut_lazy_module
so Python's type-level dunder lookup works correctly (needed for
lru_cache proxy on Python < 3.10 and general robustness)
https://claude.ai/code/session_01KBLQLYTdfjLPaR2UJhgnkq1 parent 67c8d55 commit 12e25cf
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
45 | 49 | | |
46 | 50 | | |
| 51 | + | |
| 52 | + | |
47 | 53 | | |
48 | 54 | | |
49 | 55 | | |
| |||
85 | 91 | | |
86 | 92 | | |
87 | 93 | | |
88 | | - | |
| 94 | + | |
89 | 95 | | |
90 | 96 | | |
91 | 97 | | |
| |||
0 commit comments