Commit 401980b
committed
Use pre-3.10 serialization code on PyPy3.10
The new serialization code for Python 3.10+ does not seem to work
on PyPy3.10 7.3.13, as it causes:
ValueError: no signature found for builtin type <class 'code'>
Switch back to the old code if PyPy is used, at least for the time
being. With this change, the test suite passes on PyPy3.10.
Fixes #8451 parent 44dab1c commit 401980b
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
0 commit comments