Open
Description
It looks like Python 3.13 will provide public C API for efficiently converting to and from a PyLong
. These should be compatible with mpz_import/mpz_export
rather than converting between hex strings:
python-flint/src/flint/types/fmpz.pxd
Lines 15 to 23 in 430b8e5
python-flint/src/flint/types/fmpz.pyx
Lines 16 to 27 in 430b8e5