gmpy
gmpy copied to clipboard
Use PyLong_GetSign()
See https://github.com/python/cpython/pull/116561 and https://github.com/capi-workgroup/decisions/issues/19. I'm not happy with this API and it seems that discussion is ongoing. Maybe it's wise to wait some time...