Commit 4df2215
authored
[mypyc] Fix 3.12 issue with pickling of instances with __dict__ (#15574)
This fixes the testPickling test case in
mypyc/test-data/run-classes.test on Python 3.12.
Handle another case that was missed in #15471. On 3.12 we rely on
Py_TPFLAGS_MANAGED_DICT and shouldn't define an explicit `__dict__`
member.
Work on mypyc/mypyc#995.1 parent a759c49 commit 4df2215
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
| 273 | + | |
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
| |||
0 commit comments