Commit 8ea9f29
committed
[mypyc] Fix 3.12 issue with pickling of instances with __dict__
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 259c822 commit 8ea9f29
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