]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-94864: Fix PyArg_Parse* with deprecated format units "u" and "Z" (GH-94902)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 17 Jul 2022 05:46:43 +0000 (22:46 -0700)
committerGitHub <noreply@github.com>
Sun, 17 Jul 2022 05:46:43 +0000 (22:46 -0700)
commit31608abf55839f5fa9cce33d530e35ea6e0ad427
tree62a4602f64467c9475a8b66b9be0e4310ab0f136
parent964431eaeb1905a95cb1bd745d0b9c0052db4b94
gh-94864: Fix PyArg_Parse* with deprecated format units "u" and "Z" (GH-94902)

It returned 1 (success) when warnings are turned into exceptions.
(cherry picked from commit 107c21c5d56682320b38c01b5575c1604a429239)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_getargs2.py
Misc/NEWS.d/next/C API/2022-07-16-14-57-23.gh-issue-94864.Pb41ab.rst [new file with mode: 0644]
Python/getargs.c