-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Add PyLong Import/Export API #121
Conversation
7b4d50e
to
b521c29
Compare
PyPy is not supported, as well as Py2. In the later case it's possible, but hardly worth code complications: most real-word potential consumers (e.g. Sage, gmpy2 or python-flint) support only Python 3.
b521c29
to
2337b1f
Compare
python/cpython#121339 was merged. What's the status of this PR? Is it up to date and ready to be reviewed? |
Co-authored-by: Victor Stinner <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it up to date and ready to be reviewed?
It's now slightly outdated. PyLongWriter_Create() should reject ndigits==0; export_long should be set to 0 on errors. I'll address this today.
(Unfortunately, I still don't know how implement this for PyPy (not in RPython, but within this project).)
Merged, thank you. |
PyPy is not supported, as well as Py2. In the later case it's possible, but hardly worth code complications: most real-word potential consumers (e.g. Sage, gmpy2 or python-flint) support only Python 3.