Closed tornaria closed 10 months ago
See https://github.com/sagemath/sage/pull/36407#issuecomment-1750585808 for an explanation of the change.
Thank you so much for this, could you rebase your PR on the current master branch, it should resolve those CI failures.
Thank you so much for this, could you rebase your PR on the current master branch, it should resolve those CI failures.
Done
The necessary functions are copied from cpython 3.12
Include/internal/pycore_long.h
, which is private. This should make it easy to copy new versions if cpython internals change. For cpython < 3.12 I implemented equivalent functions.All of this is placed in separate files
pycore_long.pxd
andpycore_long.h
copied from https://github.com/sagemath/cypari2/issues/137.Tested in 64-bit and 32-bit x86.
Fixes: #246