Skip to content

Conversation

@GPHemsley
Copy link
Contributor

@GPHemsleyGPHemsley commented May 18, 2019

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

https://bugs.python.org/issue36959

@GPHemsleyGPHemsleyforce-pushed the strptime-iso-errors branch from c3c93e8 to 4e29c31CompareMay 19, 2019 20:57
@miss-islington-app
Copy link

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
Copy link

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>
@miss-islington-app
Copy link

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-appbedevere-appbot 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
Copy link

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

@bedevere-appbedevere-appbot 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>
Sign up for freeto 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

@GPHemsley@Carreau@serhiy-storchaka@the-knights-who-say-ni@ezio-melotti@bedevere-bot