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

PyInt_AS_LONG is no longer defined #169

Open
user202729 opened this issue Jan 1, 2025 · 0 comments
Open

PyInt_AS_LONG is no longer defined #169

user202729 opened this issue Jan 1, 2025 · 0 comments

Comments

@user202729
Copy link

In source code, PyInt_AS_LONG is used https://github.com/sagemath/cypari2/blob/master/cypari2/convert.pxd#L61C17-L61C30

However, this is Python 2 only https://docs.python.org/2.7/c-api/int.html#c.PyInt_AS_LONG

in Python 3 I think the replacement is PyLong_AsLong https://docs.python.org/3/c-api/long.html

fchapoton added a commit that referenced this issue Jan 1, 2025
dimpase pushed a commit that referenced this issue Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant