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
ob_size does not exist in Python 3 #22291
Labels
Milestone
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
New commits:
|
Commit: |
comment:5
ok, lgtm and bot is green |
Reviewer: Frédéric Chapoton |
Changed branch from u/jdemeyer/ob_size_does_not_exist_in_python_3 to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Replace direct access of the
ob_size
member of aPyObject*
by the macroPy_SIZE()
. Also use Cython'slongintrepr.pxd
instead of manually includinglongintrepr.h
.This is used in
src/sage/libs/cypari2/convert.pyx
src/sage/libs/gmp/pylong.pyx
CC: @defeo @videlec @fchapoton
Component: python3
Author: Jeroen Demeyer
Branch/Commit:
b5f74b1
Reviewer: Frédéric Chapoton
Issue created by migration from https://trac.sagemath.org/ticket/22291
The text was updated successfully, but these errors were encountered: