]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-129813, PEP 782: Use PyBytesWriter in _curses (#138920)
authorVictor Stinner <vstinner@python.org>
Mon, 15 Sep 2025 14:24:34 +0000 (15:24 +0100)
committerGitHub <noreply@github.com>
Mon, 15 Sep 2025 14:24:34 +0000 (16:24 +0200)
commit21c80cadc840265db533a2bdd07f717716209fde
tree788c52cb5b354bd382e03a878d9a8b388a23d1ba
parent7c6efc3a4f41f527ec40b5f5fd0ee1fb7af7c82f
gh-129813, PEP 782: Use PyBytesWriter in _curses (#138920)

Replace PyBytes_FromStringAndSize(NULL, size) and _PyBytes_Resize()
with the new public PyBytesWriter API.
Modules/_cursesmodule.c