| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Move the following private API to the internal C API (pycore_long.h): * _PyLong_Copy() * _PyLong_FromDigits() * _PyLong_New() No longer export most of these functions.
|
@vstinner, we use _PyLong_New() in the gmpy2, e.g. in the GMPy_PyLong_From_MPZ() method. What's now the intended replacement for this private API? |
Sorry, something went wrong.
|
Another user is the sage: $ git grep _PyLong_N src/sage/libs/gmp/pylong.pyx:from cpython.longintrepr cimport _PyLong_New, py_long, digit, PyLong_SHIFT src/sage/libs/gmp/pylong.pyx: L = _PyLong_New(pylong_size) |
Sorry, something went wrong.
Would you mind to open a separated issue describing how you use _PyLong_New() and which API do you need? _PyLong_New() changed a lot in Python 3.12: see also issue #111140. |
Sorry, something went wrong.
This partially reverts python#108604.
| Back | FazBrowse Home | New Git URL |
Move the following private API to the internal C API (pycore_long.h):
No longer export most of these functions.