]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-84489: Properly handle trailing spaces in Py_BuildValue() format strings (GH-21158)
authorZackery Spytz <zspytz@gmail.com>
Wed, 11 Oct 2023 11:44:06 +0000 (04:44 -0700)
committerGitHub <noreply@github.com>
Wed, 11 Oct 2023 11:44:06 +0000 (14:44 +0300)
commitf83fa0b9eb1c11a4ef53275d77c603b97335eb23
treeee1428abd8e53a24e6c37b0d2978c95b8849f017
parentf27b83090701b9c215e0d65f1f924fb9330cb649
gh-84489: Properly handle trailing spaces in Py_BuildValue() format strings (GH-21158)

The docs state that the space, tab, colon, and comma characters are
ignored in Py_BuildValue() format strings.

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_capi/test_misc.py
Misc/NEWS.d/next/C API/2020-06-25-09-44-59.bpo-40309.CuoGoQ.rst [new file with mode: 0644]
Python/modsupport.c