René's URL Explorer Experiment


Title: gh-123681: Check NORMALIZE_CENTURY behavior at runtime; require C99 by encukou · Pull Request #136022 · python/cpython · GitHub

Open Graph Title: gh-123681: Check NORMALIZE_CENTURY behavior at runtime; require C99 by encukou · Pull Request #136022 · python/cpython

X Title: gh-123681: Check NORMALIZE_CENTURY behavior at runtime; require C99 by encukou · Pull Request #136022 · python/cpython

Description: This is a continuation of #128444. CPython requires C11, so all C99 features should work. We might need workaround if a supported platform misbehaves (hence this PR -- I want to feed the buildbots). But, IMO, any workarounds for unsupported platforms best left to the respective forks. Serhiy's runtime check for normalize_century is left in; I don't know about the details there. Issue: gh-123681

Open Graph Description: This is a continuation of #128444. CPython requires C11, so all C99 features should work. We might need workaround if a supported platform misbehaves (hence this PR -- I want to feed the buildbots)...

X Description: This is a continuation of #128444. CPython requires C11, so all C99 features should work. We might need workaround if a supported platform misbehaves (hence this PR -- I want to feed the buildbots)...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits/:range(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:aeac40d1-2d46-8f59-967e-ddbae538504b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE97C:4AEF6:68F62AE:8E0F17C:6995E69D
html-safe-nonce5f2d62b47e9d6b17bb306da6948af9ca5a5719e0854fd7de5a4582e01f6ae9c5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTdDOjRBRUY2OjY4RjYyQUU6OEUwRjE3Qzo2OTk1RTY5RCIsInZpc2l0b3JfaWQiOiI1Mzc2NzAwMTE0NTg0MDY5Nzg5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb5815166b032967c0117d231ad5aedeb2192e8f3e4e58c7dbe54cc027b834fb8
hovercard-subject-tagpull_request:2623695382
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/136022/commits/edf4428a59eecb2b547c92a0e19d9bbf3c2743d0
twitter:imagehttps://avatars.githubusercontent.com/u/302922?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/302922?s=400&v=4
og:image:altThis is a continuation of #128444. CPython requires C11, so all C99 features should work. We might need workaround if a supported platform misbehaves (hence this PR -- I want to feed the buildbots)...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None1161b1e91d57e776171599ebe7c3b8c4690792d1e87e83b5c77a9b1aeb391094
turbo-cache-controlno-preview
diff-viewunified
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
release93aba693a9e4c366ba98cb395cffab9ea05e0b83
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/136022/commits/edf4428a59eecb2b547c92a0e19d9bbf3c2743d0#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F136022%2Fcommits%2Fedf4428a59eecb2b547c92a0e19d9bbf3c2743d0
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F136022%2Fcommits%2Fedf4428a59eecb2b547c92a0e19d9bbf3c2743d0
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/136022/commits/edf4428a59eecb2b547c92a0e19d9bbf3c2743d0
Reloadhttps://github.com/python/cpython/pull/136022/commits/edf4428a59eecb2b547c92a0e19d9bbf3c2743d0
Reloadhttps://github.com/python/cpython/pull/136022/commits/edf4428a59eecb2b547c92a0e19d9bbf3c2743d0
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/136022/commits/edf4428a59eecb2b547c92a0e19d9bbf3c2743d0
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.6k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
encukouhttps://github.com/encukou
python:mainhttps://github.com/python/cpython/tree/main
encukou:strftime-c99-alwayshttps://github.com/encukou/cpython/tree/strftime-c99-always
Conversation 12 https://github.com/python/cpython/pull/136022
Commits 10 https://github.com/python/cpython/pull/136022/commits
Checks 44 https://github.com/python/cpython/pull/136022/checks
Files changed https://github.com/python/cpython/pull/136022/files
Please reload this pagehttps://github.com/python/cpython/pull/136022/commits/edf4428a59eecb2b547c92a0e19d9bbf3c2743d0
gh-123681: Check NORMALIZE_CENTURY behavior at runtime; require C99 https://github.com/python/cpython/pull/136022/commits/edf4428a59eecb2b547c92a0e19d9bbf3c2743d0#top
Show all changes 10 commits https://github.com/python/cpython/pull/136022/files
0d17190 gh-123681: Check the strftime() behavior at runtime instead of at the… serhiy-storchaka Jan 3, 2025 https://github.com/python/cpython/pull/136022/commits/0d17190cc821ee5ce1c1bf6ddafaeeebb2c3f463
695f58f Merge branch 'main' into strftime-runtime-checks serhiy-storchaka Apr 8, 2025 https://github.com/python/cpython/pull/136022/commits/695f58f4b16906c8822ffd570bc03e5eb1b521c1
26441f9 Add static variables to ignored.tsv. serhiy-storchaka Apr 8, 2025 https://github.com/python/cpython/pull/136022/commits/26441f90997b6442d7a9325cc2987161a83b753c
65cf376 Merge branch 'main' into strftime-runtime-checks serhiy-storchaka Apr 9, 2025 https://github.com/python/cpython/pull/136022/commits/65cf3768c339d8b57c6e56e766f51caa0ccdf5cf
872a3e0 Merge in the main branch; run `make regen-configure` encukou Jun 27, 2025 https://github.com/python/cpython/pull/136022/commits/872a3e07b2ef9ba4306413a9deb3fc30b05b11a5
8231ace CPython needs C99 encukou Jun 27, 2025 https://github.com/python/cpython/pull/136022/commits/8231ace06c0b160fa6ec62ac092350bced352572
edf4428 Remove _can_support_c99 from _pydatetime.py encukou Jul 1, 2025 https://github.com/python/cpython/pull/136022/commits/edf4428a59eecb2b547c92a0e19d9bbf3c2743d0
a52be23 Merge in the main branch encukou Jul 8, 2025 https://github.com/python/cpython/pull/136022/commits/a52be23e9361a54ce6ba81722daf426f5458f767
83c8cff Apply suggestions from code review encukou Aug 19, 2025 https://github.com/python/cpython/pull/136022/commits/83c8cffcaf24467ab15608805e343aacf4a84e57
631f95e Merge branch 'main' into strftime-c99-always encukou Aug 19, 2025 https://github.com/python/cpython/pull/136022/commits/631f95e4668021726883f5df87f4040416fd6f7e
Clear filters https://github.com/python/cpython/pull/136022/commits/edf4428a59eecb2b547c92a0e19d9bbf3c2743d0
Please reload this pagehttps://github.com/python/cpython/pull/136022/commits/edf4428a59eecb2b547c92a0e19d9bbf3c2743d0
Please reload this pagehttps://github.com/python/cpython/pull/136022/commits/edf4428a59eecb2b547c92a0e19d9bbf3c2743d0
Prev https://github.com/python/cpython/pull/136022/commits/8231ace06c0b160fa6ec62ac092350bced352572
Next https://github.com/python/cpython/pull/136022/commits/a52be23e9361a54ce6ba81722daf426f5458f767
Please reload this pagehttps://github.com/python/cpython/pull/136022/commits/edf4428a59eecb2b547c92a0e19d9bbf3c2743d0
https://github.com/encukou
encukouhttps://github.com/python/cpython/commits?author=encukou
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L433
Lib/_pydatetime.pyhttps://github.com/python/cpython/pull/136022/commits/edf4428a59eecb2b547c92a0e19d9bbf3c2743d0#diff-5dc97b7989952636b0cd6224bc01469715753358d6e2a9059707f0d06f83b141
View file https://github.com/encukou/cpython/blob/edf4428a59eecb2b547c92a0e19d9bbf3c2743d0/Lib/_pydatetime.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/136022/commits/{{ revealButtonHref }}
https://github.com/python/cpython/pull/136022/commits/edf4428a59eecb2b547c92a0e19d9bbf3c2743d0#diff-5dc97b7989952636b0cd6224bc01469715753358d6e2a9059707f0d06f83b141
https://github.com/python/cpython/pull/136022/commits/edf4428a59eecb2b547c92a0e19d9bbf3c2743d0#diff-5dc97b7989952636b0cd6224bc01469715753358d6e2a9059707f0d06f83b141
https://github.com/python/cpython/pull/136022/commits/edf4428a59eecb2b547c92a0e19d9bbf3c2743d0#diff-5dc97b7989952636b0cd6224bc01469715753358d6e2a9059707f0d06f83b141
https://github.com/python/cpython/pull/136022/commits/edf4428a59eecb2b547c92a0e19d9bbf3c2743d0#diff-5dc97b7989952636b0cd6224bc01469715753358d6e2a9059707f0d06f83b141
Please reload this pagehttps://github.com/python/cpython/pull/136022/commits/edf4428a59eecb2b547c92a0e19d9bbf3c2743d0
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.