Commit bed8cb6
committed
Fix
Enable the new `inspect.signature(types.CodeType)` code path for
PyPy3.11 and newer. Add a workaround to skip the `magic` parameter
that does not seem to be exposed (or needed).
With these changes, the serialization tests pass on PyPy3.11 7.3.19,
as well as most of the test suite.
Fixes #933
Signed-off-by: Michał Górny <mgorny@gentoo.org>types.CodeType serialization for PyPy3.111 parent 0d5488f commit bed8cb6
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
32 | | - | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
36 | | - | |
| 38 | + | |
| 39 | + | |
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
| |||
0 commit comments