FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-36959: Fix checks for invalid ISO date formats in _strptime by GPHemsley · Pull Request #13408 · python/cpython · GitHub

Repository navigation

bpo-36959: Fix checks for invalid ISO date formats in _strptime - #13408

Merged
serhiy-storchaka merged 5 commits into
python:mainfrom
GPHemsley:strptime-iso-errors
Dec 26, 2023
Merged

serhiy-storchaka merged 5 commits into
python:mainfrom
GPHemsley:strptime-iso-errors

Conversation

GPHemsley commented May 18, 2019 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

Also simplifies the logic of the leap year check so that year is None is not checked twice.

https://bugs.python.org/issue36959

GPHemsley force-pushed the strptime-iso-errors branch from c3c93e8 to 4e29c31 Compare May 19, 2019 20:57
GPHemsley requested a review from abalkin as a code owner December 26, 2023 18:38
serhiy-storchaka enabled auto-merge (squash) December 26, 2023 19:12
serhiy-storchaka added needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes labels Dec 26, 2023
serhiy-storchaka merged commit 4b2c3e8 into python:main Dec 26, 2023

Copy link
Copy Markdown

Thanks @GPHemsley for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

bedevere-app Bot commented Dec 26, 2023

Copy link
Copy Markdown

GH-113495 is a backport of this pull request to the 3.12 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 26, 2023
…ime() (pythonGH-13408)

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

(cherry picked from commit 4b2c3e8)

Co-authored-by: Gordon P. Hemsley <me@gphemsley.org>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>

Copy link
Copy Markdown

Sorry, @GPHemsley and @serhiy-storchaka, I could not cleanly backport this to 3.11 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 4b2c3e8e436b5191039cbe8cd9932654a60803e6 3.11

bedevere-app Bot removed the needs backport to 3.12 only security fixes label Dec 26, 2023
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request Dec 26, 2023
… _strptime() (pythonGH-13408)

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

(cherry picked from commit 4b2c3e8)

Co-authored-by: Gordon P. Hemsley <me@gphemsley.org>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>

bedevere-app Bot commented Dec 26, 2023

Copy link
Copy Markdown

GH-113499 is a backport of this pull request to the 3.11 branch.

bedevere-app Bot removed the needs backport to 3.11 only security fixes label Dec 26, 2023
serhiy-storchaka added a commit that referenced this pull request Dec 26, 2023
… _strptime() (GH-13408) (GH-113495)

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

(cherry picked from commit 4b2c3e8)

Co-authored-by: Gordon P. Hemsley <me@gphemsley.org>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit that referenced this pull request Dec 26, 2023
… _strptime() (GH-13408) (GH-113499)

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

(cherry picked from commit 4b2c3e8)

Co-authored-by: Gordon P. Hemsley <me@gphemsley.org>
kulikjak pushed a commit to kulikjak/cpython that referenced this pull request Jan 22, 2024
…ime() (pythonGH-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>
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
…ime() (pythonGH-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>
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
…ime() (pythonGH-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>
serhiy-storchaka removed their assignment Jul 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL