Skip to content

gh-53203: Fix strptime() for %c, %x and %X formats on many locales #125406

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

Merged
merged 4 commits into from
Oct 14, 2024

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Oct 13, 2024

Fixed most locales that use non-ASCII digits, like Persian, Burmese, Odia and Shan.

Fixed most locales that use non-ASCII digits, like Persian, Burmese,
Odia and Shan.
@serhiy-storchaka serhiy-storchaka merged commit 5f4e5b5 into python:main Oct 14, 2024
34 checks passed
@miss-islington-app
Copy link

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

@serhiy-storchaka serhiy-storchaka deleted the strptime-digits branch October 14, 2024 13:29
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 14, 2024
…les (pythonGH-125406)

Fixed most locales that use non-ASCII digits, like Persian, Burmese,
Odia and Shan.
(cherry picked from commit 5f4e5b5)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@miss-islington-app
Copy link

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

cherry_picker 5f4e5b598cab86d5fd5727d423c9728221889ed0 3.12

@bedevere-app
Copy link

bedevere-app bot commented Oct 14, 2024

GH-125454 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Oct 14, 2024
@vstinner
Copy link
Member

Tests fail on RHEL8: https://buildbot.python.org/#/builders/185/builds/7833

@serhiy-storchaka
Copy link
Member Author

Should be fixed by #125469.

serhiy-storchaka added a commit that referenced this pull request Oct 14, 2024
…ales (GH-125406) (GH-125454)

Fixed most locales that use non-ASCII digits, like Persian, Burmese,
Odia and Shan.
(cherry picked from commit 5f4e5b5)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request Oct 14, 2024
…s on many locales (pythonGH-125406) (pythonGH-125454)

Fixed most locales that use non-ASCII digits, like Persian, Burmese,
Odia and Shan.
(cherry picked from commit 5f4e5b5)

(cherry picked from commit cbcdf34)

Co-authored-by: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit that referenced this pull request Oct 14, 2024
…ales (GH-125406) (GH-125454) (GH-125483)

Fixed most locales that use non-ASCII digits, like Persian, Burmese,
Odia and Shan.
(cherry picked from commit 5f4e5b5)

(cherry picked from commit cbcdf34)

Co-authored-by: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
@terryjreedy terryjreedy removed the needs backport to 3.12 only security fixes label Feb 18, 2025
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.

3 participants