]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-129813, PEP 782: Add PyBytesWriter_Format() (#138824)
authorVictor Stinner <vstinner@python.org>
Fri, 12 Sep 2025 12:21:57 +0000 (14:21 +0200)
committerGitHub <noreply@github.com>
Fri, 12 Sep 2025 12:21:57 +0000 (14:21 +0200)
commitc3fca5d4785a7e8406e864a662433644bffb4818
treea398491e677cb79511430603b50ab67a744f552e
parent419441a6e14aa9e0ebd2484ee8e76d3c544a3c09
gh-129813, PEP 782: Add PyBytesWriter_Format() (#138824)

Modify PyBytes_FromFormatV() to use the public PyBytesWriter API
rather than the _PyBytesWriter private API.
Doc/c-api/bytes.rst
Doc/whatsnew/3.15.rst
Include/cpython/bytesobject.h
Lib/test/test_capi/test_bytes.py
Misc/NEWS.d/next/C_API/2025-09-12-13-05-20.gh-issue-129813.dJZpME.rst
Modules/_testcapi/bytes.c
Objects/bytesobject.c