]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-133968: Add fast path to PyUnicodeWriter_WriteStr() (#133969)
authorVictor Stinner <vstinner@python.org>
Tue, 13 May 2025 13:31:41 +0000 (15:31 +0200)
committerGitHub <noreply@github.com>
Tue, 13 May 2025 13:31:41 +0000 (15:31 +0200)
commitfe9f6e829a535747b1e06d9bfda033a9a47165ed
treef44a64847c898cac27a06f493516a0fb9b9ed0be
parentfc3cddd90a1674a71c1abe6a78dde14c935b1de4
gh-133968: Add fast path to PyUnicodeWriter_WriteStr() (#133969)

Don't call PyObject_Str() if the input type is str.
Objects/unicodeobject.c