-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-127552: Remove comment questioning 4-digit restriction for ‘Y’ in datetime.strptime patterns #127590
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Thanks! |
@brettcannon any reason not to backport this (or was it a misclick)? |
I decided it simply wasn't worth it in the end (more churn than necessary). Feel free to if you want to. |
I'll just see if we can have an automatic backport. If not, I'll do the backports manually! (tomorrow) |
Thanks @bombs-kim for the PR, and @brettcannon for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Thanks @bombs-kim for the PR, and @brettcannon for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
…Y’ in datetime.strptime patterns (pythonGH-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 51cfa56) Co-authored-by: Beomsoo Kim <beoms424@gmail.com>
…Y’ in datetime.strptime patterns (pythonGH-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 51cfa56) Co-authored-by: Beomsoo Kim <beoms424@gmail.com>
GH-127649 is a backport of this pull request to the 3.12 branch. |
GH-127650 is a backport of this pull request to the 3.13 branch. |
…‘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 51cfa56) Co-authored-by: Beomsoo Kim <beoms424@gmail.com>
…‘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 51cfa56) Co-authored-by: Beomsoo Kim <beoms424@gmail.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
…Y’ in datetime.strptime patterns (python#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).
This PR removes the comment questioning 4-digit restriction for ‘Y’ in
datetime.strptime
patterns. The comment is more than 20 years old and practically obsolete at this point.