Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use pre-3.10 serialization code on PyPy3.10 #846

Merged
merged 1 commit into from
Nov 21, 2023
Merged

Conversation

mgorny
Copy link
Contributor

@mgorny mgorny commented Nov 20, 2023

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 #845

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 ipython#845
@mgorny
Copy link
Contributor Author

mgorny commented Nov 20, 2023

These failure don't seem related to my changes.

@minrk minrk added the bug label Nov 21, 2023
@minrk minrk merged commit cf7fc51 into ipython:main Nov 21, 2023
8 of 11 checks passed
@minrk
Copy link
Member

minrk commented Nov 21, 2023

Thanks!

@mgorny
Copy link
Contributor Author

mgorny commented Nov 21, 2023

Thank you!

@mgorny mgorny deleted the pypy310 branch November 21, 2023 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Py3.10 code serialization does not work on PyPy3.10
2 participants