-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Incompatible with python 3.11 #114
Comments
The offending code is the following:
It assumes that x is of type
(according to https://github.com/cython/cython/blob/0.29.x/Cython/Includes/cpython/longintrepr.pxd). |
Given how bad this looks, the solution is apparently surprisingly easy: Setting the size of a python long was done with Python 3.11 now makes setting the size using (The actual error message here is a bit cryptic, but basically Py_SIZE is no longer a reference, but a new value. Saving the address of an rvalue doesn't work.) Tests are currently running here: https://github.com/kliem/cypari2/runs/6523399435?check_suite_focus=true |
https://trac.sagemath.org/ticket/33842
The text was updated successfully, but these errors were encountered: