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

Replace _PyLong_Format with PyNumber_ToBase #118

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

musicinmybrain
Copy link

_PyLong_Format is in Python’s internal, private API; PyNumber_ToBase belongs to the Stable API, and is a fairly thin wrapper around _PyLong_Format with a bit of extra error checking.

Fixes #116.

`_PyLong_Format` is in Python’s internal, private API; `PyNumber_ToBase`
belongs to the Stable API, and is a fairly thin wrapper around
`_PyLong_Format` with a bit of extra error checking.

Fixes MagicStack#116.
@elprans elprans requested a review from 1st1 June 5, 2024 16:47
hswong3i added a commit to alvistack/MagicStack-immutables that referenced this pull request Jun 13, 2024
    git clean -xdf
    tar zcvf ../python-immutables_0.20.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-immutables.spec ../python-immutables_0.20-1.spec
    cp ../python*-immutables*0.20*.{gz,xz,spec,dsc} /osc/home\:alvistack/MagicStack-immutables-0.20/
    rm -rf ../python*-immutables*0.20*.*

See MagicStack#118

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
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

Successfully merging this pull request may close these issues.

Segfault with Python 3.13.0b1
1 participant