forked from Rogdham/pyzstd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace _PyLong_AsInt() with PyLong_AsInt() for Python 3.13+
The new public function `PyLong_AsInt()` has been introduced as part of python/cpython#108444, which renames the internal `_PyLong_AsInt()` to `PyLong_AsInt()`. This change updates the code to use the new public API while maintaining compatibility with Python versions earlier than 3.13. Fixes Rogdham#13 Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
- Loading branch information
1 parent
90f783e
commit 2c394fb
Showing
3 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters