René's URL Explorer Experiment


Title: gh-53203: Fix strptime() for %c, %x and %X formats on many locales by serhiy-storchaka · Pull Request #125406 · python/cpython · GitHub

Open Graph Title: gh-53203: Fix strptime() for %c, %x and %X formats on many locales by serhiy-storchaka · Pull Request #125406 · python/cpython

X Title: gh-53203: Fix strptime() for %c, %x and %X formats on many locales by serhiy-storchaka · Pull Request #125406 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Fixed most locales that use non-ASCII digits, like Persian, Burmese, Odia and Shan. Issue: strptime(.., '%c') fails to parse output of strftime('%c', ..) in some locales #53203

X Description: Fixed most locales that use non-ASCII digits, like Persian, Burmese, Odia and Shan. Issue: strptime(.., '%c') fails to parse output of strftime('%c', ..) in some locales #53203

Opengraph URL: https://github.com/python/cpython/pull/125406

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:9453a1d0-ea5e-be1b-04f8-f37e0b2c46b1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9666:187983:57A7D:756E2:6B0222D1
html-safe-nonce268ad14789df3480fa9d63a55fe0705570ccb1e5c08cd2b9c919bd0440320d0d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjY2OjE4Nzk4Mzo1N0E3RDo3NTZFMjo2QjAyMjJEMSIsInZpc2l0b3JfaWQiOiI1MDU0OTA4NTQxODgyNzM3MzYxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac39c13983f75e73b46372c1ee95ac5c2400f5629314b3ae3d5cae3a69d79a2d9e
hovercard-subject-tagpull_request:2121546264
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/125406/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b0b3fb3cf00a67d808af4e165a6ffe797416c1e7ec9665f82ee059d50bfd40f1/python/cpython/pull/125406
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b0b3fb3cf00a67d808af4e165a6ffe797416c1e7ec9665f82ee059d50bfd40f1/python/cpython/pull/125406
og:image:altFixed most locales that use non-ASCII digits, like Persian, Burmese, Odia and Shan. Issue: strptime(.., '%c') fails to parse output of strftime('%c', ..) in some locales #53203
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameserhiy-storchaka
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/125406#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F125406
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F125406
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/125406
Reloadhttps://github.com/python/cpython/pull/125406
Reloadhttps://github.com/python/cpython/pull/125406
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:strptime-digitshttps://github.com/serhiy-storchaka/cpython/tree/strptime-digits
Conversationhttps://github.com/python/cpython/pull/125406
Commits4 (4)https://github.com/python/cpython/pull/125406/commits
Checkshttps://github.com/python/cpython/pull/125406/checks
Files changedhttps://github.com/python/cpython/pull/125406/files
gh-53203: Fix strptime() for %c, %x and %X formats on many localeshttps://github.com/python/cpython/pull/125406#top
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:strptime-digitshttps://github.com/serhiy-storchaka/cpython/tree/strptime-digits
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Oct 13, 2024https://github.com/python/cpython/pull/125406#issue-2584135842
Please reload this pagehttps://github.com/python/cpython/pull/125406
strptime(.., '%c') fails to parse output of strftime('%c', ..) in some locales #53203https://github.com/python/cpython/issues/53203
Please reload this pagehttps://github.com/python/cpython/pull/125406
https://github.com/serhiy-storchaka
pythongh-53203https://github.com/python/cpython/issues/53203
: Fix strptime() for %c, %x and %X formats on many localeshttps://github.com/python/cpython/pull/125406/commits/8e79673e65fd8edbf8888a15f45badca8a6ab4fd
8e79673https://github.com/python/cpython/pull/125406/commits/8e79673e65fd8edbf8888a15f45badca8a6ab4fd
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
needs backport to 3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
Oct 13, 2024https://github.com/python/cpython/pull/125406#event-14620199096
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
abalkinhttps://github.com/abalkin
pgansslehttps://github.com/pganssle
code ownershttps://github.com/python/cpython/blob/e79bbd147fd58e825572f1aa93c5398953289fb2/.github/CODEOWNERS#L130
October 13, 2024 17:37https://github.com/python/cpython/pull/125406#event-14620199113
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Oct 13, 2024https://github.com/python/cpython/pull/125406#event-14620199239
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 13, 2024 https://github.com/python/cpython/pull/125406#ref-issue-1198856506
strptime(.., '%c') fails to parse output of strftime('%c', ..) in some locales #53203 https://github.com/python/cpython/issues/53203
serhiy-storchakahttps://github.com/serhiy-storchaka
October 13, 2024 21:00https://github.com/python/cpython/pull/125406#commits-pushed-d34539c
https://github.com/serhiy-storchaka
Fix test_time.https://github.com/python/cpython/pull/125406/commits/d34539c4c85d246b5f2f4def657a48d6600cdfaf
d34539chttps://github.com/python/cpython/pull/125406/commits/d34539c4c85d246b5f2f4def657a48d6600cdfaf
https://github.com/serhiy-storchaka
Skip tests for Iranian and Hijra calendars.https://github.com/python/cpython/pull/125406/commits/d753a6141f7c747ec10f9f0e006b72ef048fd172
d753a61https://github.com/python/cpython/pull/125406/commits/d753a6141f7c747ec10f9f0e006b72ef048fd172
https://github.com/serhiy-storchaka
Remove debugging remnatnts.https://github.com/python/cpython/pull/125406/commits/10115d4621214897e4ee9720cf2db3211a8383bb
10115d4https://github.com/python/cpython/pull/125406/commits/10115d4621214897e4ee9720cf2db3211a8383bb
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
5f4e5b5https://github.com/python/cpython/commit/5f4e5b598cab86d5fd5727d423c9728221889ed0
Oct 14, 2024https://github.com/python/cpython/pull/125406#event-14636258723
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Oct 14, 2024https://github.com/python/cpython/pull/125406#issuecomment-2411279950
@serhiy-storchakahttps://github.com/serhiy-storchaka
Please reload this pagehttps://github.com/python/cpython/pull/125406
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Oct 14, 2024https://github.com/python/cpython/pull/125406#event-14636259536
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
October 14, 2024 13:29https://github.com/python/cpython/pull/125406#event-14636259684
miss-islingtonhttps://github.com/miss-islington
Oct 14, 2024 https://github.com/python/cpython/pull/125406#ref-commit-11c0397
https://github.com/serhiy-storchaka
https://github.com/miss-islington
pythongh-53203https://github.com/python/cpython/issues/53203
: Fix strptime() for %c, %x and %X formats on many loca…https://github.com/miss-islington/cpython/commit/11c0397db9066b15cc1127316f7efe3b27509c9b
11c0397https://github.com/miss-islington/cpython/commit/11c0397db9066b15cc1127316f7efe3b27509c9b
pythonGH-125406https://github.com/python/cpython/pull/125406
5f4e5b5https://github.com/miss-islington/cpython/commit/5f4e5b598cab86d5fd5727d423c9728221889ed0
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Oct 14, 2024https://github.com/python/cpython/pull/125406#issuecomment-2411280336
@serhiy-storchakahttps://github.com/serhiy-storchaka
cherry_pickerhttps://pypi.org/project/cherry-picker/
Please reload this pagehttps://github.com/python/cpython/pull/125406
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
serhiy-storchakahttps://github.com/serhiy-storchaka
Oct 14, 2024https://github.com/python/cpython/pull/125406#event-14636262130
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 14, 2024https://github.com/python/cpython/pull/125406#issuecomment-2411280504
GH-125454https://github.com/python/cpython/pull/125454
3.13 branchhttps://github.com/python/cpython/tree/3.13
Please reload this pagehttps://github.com/python/cpython/pull/125406
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
Oct 14, 2024https://github.com/python/cpython/pull/125406#event-14636263399
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 14, 2024https://github.com/python/cpython/pull/125406#issuecomment-2411341267
https://buildbot.python.org/#/builders/185/builds/7833https://buildbot.python.org/#/builders/185/builds/7833
Please reload this pagehttps://github.com/python/cpython/pull/125406
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Oct 14, 2024https://github.com/python/cpython/pull/125406#issuecomment-2411659139
#125469https://github.com/python/cpython/pull/125469
Please reload this pagehttps://github.com/python/cpython/pull/125406
serhiy-storchakahttps://github.com/serhiy-storchaka
Oct 14, 2024 https://github.com/python/cpython/pull/125406#ref-commit-cbcdf34
https://github.com/miss-islington
https://github.com/serhiy-storchaka
[3.13]https://github.com/python/cpython/commit/cbcdf34a4b69a28a7e31715423fb080cb5cf8075
gh-53203https://github.com/python/cpython/issues/53203
: Fix strptime() for %c, %x and %X formats on many loc…https://github.com/python/cpython/commit/cbcdf34a4b69a28a7e31715423fb080cb5cf8075
cbcdf34https://github.com/python/cpython/commit/cbcdf34a4b69a28a7e31715423fb080cb5cf8075
GH-125406https://github.com/python/cpython/pull/125406
GH-125454https://github.com/python/cpython/pull/125454
5f4e5b5https://github.com/python/cpython/commit/5f4e5b598cab86d5fd5727d423c9728221889ed0
serhiy-storchakahttps://github.com/serhiy-storchaka
Oct 14, 2024 https://github.com/python/cpython/pull/125406#ref-commit-e1025ee
https://github.com/miss-islington
https://github.com/serhiy-storchaka
[3.12] [3.13]https://github.com/serhiy-storchaka/cpython/commit/e1025eecd864c45f2a8e71f0e093eee0fcb40ab0
pythongh-53203https://github.com/python/cpython/issues/53203
: Fix strptime() for %c, %x and %X format…https://github.com/serhiy-storchaka/cpython/commit/e1025eecd864c45f2a8e71f0e093eee0fcb40ab0
e1025eehttps://github.com/serhiy-storchaka/cpython/commit/e1025eecd864c45f2a8e71f0e093eee0fcb40ab0
pythonGH-125406https://github.com/python/cpython/pull/125406
pythonGH-125454https://github.com/python/cpython/pull/125454
5f4e5b5https://github.com/serhiy-storchaka/cpython/commit/5f4e5b598cab86d5fd5727d423c9728221889ed0
cbcdf34https://github.com/serhiy-storchaka/cpython/commit/cbcdf34a4b69a28a7e31715423fb080cb5cf8075
serhiy-storchakahttps://github.com/serhiy-storchaka
Oct 14, 2024 https://github.com/python/cpython/pull/125406#ref-commit-9290868
https://github.com/serhiy-storchaka
https://github.com/miss-islington
[3.12]https://github.com/python/cpython/commit/92908681557308baa60f86d9ed24c132debfc35b
gh-53203https://github.com/python/cpython/issues/53203
: Fix strptime() for %c, %x and %X formats on many loc…https://github.com/python/cpython/commit/92908681557308baa60f86d9ed24c132debfc35b
9290868https://github.com/python/cpython/commit/92908681557308baa60f86d9ed24c132debfc35b
GH-125406https://github.com/python/cpython/pull/125406
GH-125454https://github.com/python/cpython/pull/125454
GH-125483https://github.com/python/cpython/pull/125483
5f4e5b5https://github.com/python/cpython/commit/5f4e5b598cab86d5fd5727d423c9728221889ed0
cbcdf34https://github.com/python/cpython/commit/cbcdf34a4b69a28a7e31715423fb080cb5cf8075
https://github.com/terryjreedy
terryjreedyhttps://github.com/terryjreedy
needs backport to 3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22
Feb 18, 2025https://github.com/python/cpython/pull/125406#event-16341589178
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Mar 21, 2025 https://github.com/python/cpython/pull/125406#ref-issue-2930019835
datetime.strptime no longer raises ValueError: stray % in format '%Y %' #131434 https://github.com/python/cpython/issues/131434
https://github.com/pganssle
pgansslehttps://github.com/pganssle
Mar 26, 2025 https://github.com/python/cpython/pull/125406#ref-pullrequest-2905364079
gh-83461: Don't allow datetime parsing to accept non-ASCII digits #131008 https://github.com/python/cpython/pull/131008
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Jul 15, 2026https://github.com/python/cpython/pull/125406#event-28014972094
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F125406
https://github.com/pganssle
pganssle https://github.com/pganssle
https://github.com/abalkin
abalkin https://github.com/abalkin
Please reload this pagehttps://github.com/python/cpython/pull/125406
Please reload this pagehttps://github.com/python/cpython/pull/125406
https://github.com/serhiy-storchaka
https://github.com/vstinner
https://github.com/terryjreedy
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.