]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-139156: Use PyBytesWriter in PyUnicode_AsRawUnicodeEscapeString() (#139250)
authorVictor Stinner <vstinner@python.org>
Mon, 22 Sep 2025 21:46:19 +0000 (23:46 +0200)
committerGitHub <noreply@github.com>
Mon, 22 Sep 2025 21:46:19 +0000 (23:46 +0200)
commit49e83e31bd45e513a3caaa39b5789e95caa78ac1
tree1b4254a52a16a834311739c0b7069071015aff4c
parentc497694f772763f9e8642603d9f6627675ba64c4
gh-139156: Use PyBytesWriter in PyUnicode_AsRawUnicodeEscapeString() (#139250)

Replace PyBytes_FromStringAndSize() and _PyBytes_Resize() with the
PyBytesWriter API.
Objects/unicodeobject.c