]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-127552: Remove comment questioning 4-digit restriction for ‘Y’ in datetime...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 10 Dec 2024 08:20:54 +0000 (09:20 +0100)
committerGitHub <noreply@github.com>
Tue, 10 Dec 2024 08:20:54 +0000 (09:20 +0100)
commit8b4e7f8ec0be2bb0443c0d2394bb03cc61c4eb06
tree7ad409946e5df1c76a9e710d5f5c3d11c57f4e12
parente881dd1c468beafd81d20be2e66a5fdd49cb3402
[3.12] gh-127552: Remove comment questioning 4-digit restriction for ‘Y’ in datetime.strptime patterns (GH-127590) (#127649)

gh-127552: Remove comment questioning 4-digit restriction for ‘Y’ in datetime.strptime patterns (GH-127590)

The code has required 4 digits for the year since its inclusion in the stdlib in 2002 (over 22 years ago as of this commit).
(cherry picked from commit 51cfa569e379f84b3418db0971a71b1ef575a42b)

Co-authored-by: Beomsoo Kim <beoms424@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Lib/_strptime.py