- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 30
Closed
Milestone
Description
Python 3.12 changes the internal representation of int objects (to speed up common cases). Usage of Py_SIZE and ob_digit in convert.pyx will fail.
The supported way of extracting the value of integers (if they don't fit in a C long long) is the Python method to_bytes, and there's from_bytes to go back. (If this is too slow for cypari, please chime in in the discussion.)
(edit) See also: python/cpython#101292
Metadata
Metadata
Assignees
Labels
No labels