]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-127552: Remove comment questioning 4-digit restriction for ‘Y’ in datetime...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 6 Dec 2024 17:17:32 +0000 (18:17 +0100)
committerGitHub <noreply@github.com>
Fri, 6 Dec 2024 17:17:32 +0000 (09:17 -0800)
commit652a0eb6d1687fb1012b97432744447f1c7cac3f
treee0e063395451aaf95b93aa62e60457af0c2b1d78
parent8d50e0320bdcf88ccfdd57a54fa581a57c04e95c
[3.13] gh-127552: Remove comment questioning 4-digit restriction for ‘Y’ in datetime.strptime patterns (GH-127590) GH-127650)

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>
Lib/_strptime.py