Skip to content

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Feb 1, 2026

Backport

This will backport the following commits from master to gmp-0.4.x:

Questions ?

Please refer to the Backport tool documentation

(cherry picked from commit 2891c5f)
(cherry picked from commit b6e969a)

# Conflicts:
#	gmp.c
XXX: use Py_XDECREF to fix test coverage
(cherry picked from commit 431c1e4)
(cherry picked from commit 9b4d1c5)

# Conflicts:
#	gmp.c
* PyBytes_AS_STRING -> PyBytes_AsString
* PyByteArray_AS_STRING -> PyByteArray_AsString
* PyUnicode_AsUTF8 -> PyUnicode_AsUTF8AndSize
* PyStructSequence_SET_ITEM -> PyStructSequence_SetItem
* PyTuple_GET_SIZE -> PyTuple_Size
* PyTuple_GET_ITEM -> PyTuple_GetItem
* PyTuple_SET_ITEM -> PyTuple_SetItem
* PyUnicode_READ_CHAR -> PyUnicode_ReadChar
* PyUnicode_GET_LENGTH -> PyUnicode_GetLength

(cherry picked from commit adcc1bd)

# Conflicts:
#	gmp.c
(cherry picked from commit 1acdd24)

# Conflicts:
#	gmp.c
(cherry picked from commit f350596)

# Conflicts:
#	gmp.c
(cherry picked from commit 62fc751)

# Conflicts:
#	tests/test_functions.py
Autogenerated signatures available since 3.13 (python/cpython#107794)

(cherry picked from commit b37e4f5)
(cherry picked from commit e831dcb)
(cherry picked from commit 2444e9f)

# Conflicts:
#	tests/test_mpz.py
(cherry picked from commit 6657816)
(cherry picked from commit 723a834)

# Conflicts:
#	mpz.h
(cherry picked from commit 942df50)

# Conflicts:
#	tests/test_mpz.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant