]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-131434: Improve error reporting for incorrect format in strptime() (GH-131568)
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 9 Apr 2025 10:26:50 +0000 (13:26 +0300)
committerGitHub <noreply@github.com>
Wed, 9 Apr 2025 10:26:50 +0000 (13:26 +0300)
commit3feac7a093b3fcd549c5dc54277f26f585f2ab0c
tree0fbd952c483b941392247922079def88bb0e3e8f
parent7ebbd271444d89218870169624921b795a717470
gh-131434: Improve error reporting for incorrect format in strptime() (GH-131568)

In particularly, fix regression in detecting stray % at the end of the
format string.
Lib/_strptime.py
Lib/test/test_strptime.py
Lib/test/test_time.py
Misc/NEWS.d/next/Library/2025-03-21-21-24-36.gh-issue-131434.BPkyyh.rst [new file with mode: 0644]