]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-85283: Add PyMem_RawMalloc() to the limited C API (#108570)
authorVictor Stinner <vstinner@python.org>
Tue, 17 Oct 2023 00:41:51 +0000 (02:41 +0200)
committerGitHub <noreply@github.com>
Tue, 17 Oct 2023 00:41:51 +0000 (02:41 +0200)
commitcc71cc925662cb089b5c6fe17df00d00045dfd71
tree66629945768e18b3ec3ec33a02f9a78f018847c2
parentcf9c25c719ba9b0f5bde90fc8b8bba7942d10151
gh-85283: Add PyMem_RawMalloc() to the limited C API (#108570)

Add PyMem_RawMalloc(), PyMem_RawCalloc(), PyMem_RawRealloc() and
PyMem_RawFree() to the limited C API.

These functions were added by Python 3.4 and are needed to port
stdlib extensions to the limited C API, like grp and pwd.

Co-authored-by: Erlend E. Aasland <erlend@python.org>
Doc/data/stable_abi.dat
Doc/whatsnew/3.13.rst
Include/cpython/pymem.h
Include/pymem.h
Lib/test/test_stable_abi_ctypes.py
Misc/NEWS.d/next/C API/2023-08-28-17-34-10.gh-issue-85283.f1zXcc.rst [new file with mode: 0644]
Misc/stable_abi.toml
PC/python3dll.c