Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
bpo-36959: Fix checks for invalid ISO date formats in _strptime#13408
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Thanks@GPHemsley for the PR, and@serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
GH-113495 is a backport of this pull request to the3.12 branch. |
…ime() (pythonGH-13408)Previously some error messages complained about incompatiblecombinations of directives that are not contained in the format string.(cherry picked from commit4b2c3e8)Co-authored-by: Gordon P. Hemsley <me@gphemsley.org>Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Sorry,@GPHemsley and@serhiy-storchaka, I could not cleanly backport this to
|
… _strptime() (pythonGH-13408)Previously some error messages complained about incompatiblecombinations of directives that are not contained in the format string.(cherry picked from commit4b2c3e8)Co-authored-by: Gordon P. Hemsley <me@gphemsley.org>Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
GH-113499 is a backport of this pull request to the3.11 branch. |
… _strptime() (GH-13408) (GH-113495)Previously some error messages complained about incompatiblecombinations of directives that are not contained in the format string.(cherry picked from commit4b2c3e8)Co-authored-by: Gordon P. Hemsley <me@gphemsley.org>Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…ime() (pythonGH-13408)Previously some error messages complained about incompatiblecombinations of directives that are not contained in the format string.Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…ime() (pythonGH-13408)Previously some error messages complained about incompatiblecombinations of directives that are not contained in the format string.Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…ime() (pythonGH-13408)Previously some error messages complained about incompatiblecombinations of directives that are not contained in the format string.Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Uh oh!
There was an error while loading.Please reload this page.
Also simplifies the logic of the leap year check so that
year is None
is not checked twice.https://bugs.python.org/issue36959