]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-111089: Use PyUnicode_AsUTF8() in getargs.c (#111620)
authorVictor Stinner <vstinner@python.org>
Wed, 1 Nov 2023 23:13:55 +0000 (00:13 +0100)
committerGitHub <noreply@github.com>
Wed, 1 Nov 2023 23:13:55 +0000 (00:13 +0100)
commitcde1071b2a72e8261ca66053ef61431b7f3a81fd
tree4eb45c22d82de42c01efc6d99702c234fbf51ed3
parentff3b0a69380f8487ff0b7a78733b1421df1c4663
gh-111089: Use PyUnicode_AsUTF8() in getargs.c (#111620)

Replace PyUnicode_AsUTF8AndSize() with PyUnicode_AsUTF8() to remove
the explicit check for embedded null characters.
Python/getargs.c