Skip to content

[gmp-0.4.x] Merge pull request #296 from skirpichev/misc#307

Closed
github-actions[bot] wants to merge 14 commits intogmp-0.4.xfrom
backport/gmp-0.4.x/pr-296
Closed

[gmp-0.4.x] Merge pull request #296 from skirpichev/misc#307
github-actions[bot] wants to merge 14 commits intogmp-0.4.xfrom
backport/gmp-0.4.x/pr-296

Conversation

@github-actions
Copy link
Copy Markdown

@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
@github-actions github-actions Bot mentioned this pull request Feb 1, 2026
@skirpichev skirpichev closed this Feb 1, 2026
@skirpichev skirpichev deleted the backport/gmp-0.4.x/pr-296 branch February 1, 2026 15:21
@skirpichev skirpichev removed their assignment Feb 21, 2026
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