]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36959: Fix error messages for invalid ISO format string in _strptime() (GH-13408)
authorGordon P. Hemsley <me@gphemsley.org>
Tue, 26 Dec 2023 19:26:17 +0000 (14:26 -0500)
committerGitHub <noreply@github.com>
Tue, 26 Dec 2023 19:26:17 +0000 (19:26 +0000)
commit4b2c3e8e436b5191039cbe8cd9932654a60803e6
tree3f1929766ff263da323fe55e022bdbcb32671796
parente5cce70df71b5d89c045d4712203f54198188b65
bpo-36959: Fix error messages for invalid ISO format string in _strptime() (GH-13408)

Previously some error messages complained about incompatible
combinations of directives that are not contained in the format string.

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/_strptime.py
Lib/test/test_strptime.py
Misc/NEWS.d/next/Library/2019-05-18-15-50-14.bpo-36959.ew6WZ4.rst [new file with mode: 0644]