| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:5007403b-31c9-12a0-e17f-2d307764953a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EE22:29A20E:20D0B9F:2C8B2E2:6B001E59 |
| html-safe-nonce | e7075cf22de56807ee6c8dd7d07c182d322fc5f46e064f6be859ac76930197c7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRTIyOjI5QTIwRToyMEQwQjlGOjJDOEIyRTI6NkIwMDFFNTkiLCJ2aXNpdG9yX2lkIjoiMTExNjY3NDEyOTkwNzQyNDg1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | dd67c14e10648edb0e5f7d449dfa8d351a77218ef3d72bec35c354e052bb8a86 |
| hovercard-subject-tag | pull_request:2661190741 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/136573/files |
| twitter:image | https://avatars.githubusercontent.com/u/3659035?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3659035?s=400&v=4 |
| og:image:alt | This adds signatures for some classes and methods.
date.fromisocalendar() can now raise OverflowError for arguments that don't fit in the C int.
Issue: gh-136571
Issue: gh-88784
📚 Doc... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 44c658b24abf00491fb7ae5f56d42c9f38cbeab2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/136573/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F136573%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F136573%2Ffiles |
| 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%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/136573/files |
| Reload | https://github.com/python/cpython/pull/136573/files |
| Reload | https://github.com/python/cpython/pull/136573/files |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | https://github.com/python/cpython/pulls |
| Actions | https://github.com/python/cpython/actions |
| Projects | https://github.com/python/cpython/projects |
| Security and quality | https://github.com/python/cpython/security |
| Insights | https://github.com/python/cpython/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| python:main | https://github.com/python/cpython/tree/main |
| serhiy-storchaka:clinic-datetime | https://github.com/serhiy-storchaka/cpython/tree/clinic-datetime |
|
Conversation
0
| https://github.com/python/cpython/pull/136573 |
|
Commits
6
| https://github.com/python/cpython/pull/136573/commits |
|
Checks
0
| https://github.com/python/cpython/pull/136573/checks |
|
Files changed
| https://github.com/python/cpython/pull/136573/files |
| Please reload this page | https://github.com/python/cpython/pull/136573/files |
|
gh-136571: Convert more code in datetime to Argument Clinic
| https://github.com/python/cpython/pull/136573/files#top |
|
Show all changes
6 commits
| https://github.com/python/cpython/pull/136573/files |
|
c5f8871
gh-136571: Convert more code in datetime to Argument Clinic
serhiy-storchaka Jul 12, 2025
| https://github.com/python/cpython/pull/136573/commits/c5f88715ad6f263da72f29511dfda9afcf34c3ea |
|
b832246
Fix const static data.
serhiy-storchaka Jul 12, 2025
| https://github.com/python/cpython/pull/136573/commits/b832246fe3bd0974b7d804510f5cbffcf79c9a62 |
|
b276aac
Polishing.
serhiy-storchaka Jul 12, 2025
| https://github.com/python/cpython/pull/136573/commits/b276aac3b5b81d5faf85f987978cf1e9377de5c2 |
|
a56bc55
Merge branch 'main' into clinic-datetime
serhiy-storchaka Aug 9, 2025
| https://github.com/python/cpython/pull/136573/commits/a56bc55487eea153df064a086e41e07c709a3fb4 |
|
e39b7d6
Only test signatures of the C implementation.
serhiy-storchaka Aug 9, 2025
| https://github.com/python/cpython/pull/136573/commits/e39b7d655d0aeb31acd2c0a2f48ffeee3bace1ba |
|
6e05fb4
Fix typo.
serhiy-storchaka Aug 9, 2025
| https://github.com/python/cpython/pull/136573/commits/6e05fb4f709b95c74da674d8482371710689e89a |
|
Clear filters
| https://github.com/python/cpython/pull/136573/files |
| Please reload this page | https://github.com/python/cpython/pull/136573/files |
| Please reload this page | https://github.com/python/cpython/pull/136573/files |
|
datetime.rst
| https://github.com/python/cpython/pull/136573/files#diff-591e6aa401ebcd90f71f28b517b3d4437ba293920787df9ed06e037af0b07175 |
|
pycore_global_objects_fini_generated.h
| https://github.com/python/cpython/pull/136573/files#diff-31f682b2a04cda997f449a9816ee5fae305e3bfa7357afcb794615921c6a88d2 |
|
pycore_global_strings.h
| https://github.com/python/cpython/pull/136573/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf |
|
pycore_runtime_init_generated.h
| https://github.com/python/cpython/pull/136573/files#diff-69a1fc720f0b1e9005cf7717dd81c823399da81dd2f6480664b51238c1ef93f0 |
|
pycore_unicodeobject_generated.h
| https://github.com/python/cpython/pull/136573/files#diff-510f6084b63d39305481b719ae0a29475ba759e259a8e4cee4f07c451ffbb2d6 |
|
_pydatetime.py
| https://github.com/python/cpython/pull/136573/files#diff-5dc97b7989952636b0cd6224bc01469715753358d6e2a9059707f0d06f83b141 |
|
datetimetester.py
| https://github.com/python/cpython/pull/136573/files#diff-917d5d1d1423993f37a643afa9f2a2f9caa3c0f91e06c0d7ebea1b879d53b4ef |
|
test_inspect.py
| https://github.com/python/cpython/pull/136573/files#diff-92d8ecc68ed9e7ce3b31a764d5b0368db1514365c2a6433bbe3bad5c3210cea0 |
|
2025-07-12-14-15-47.gh-issue-136571.muHmBv.rst
| https://github.com/python/cpython/pull/136573/files#diff-aff5a3c4797d537d5366712ed1d7c3bba799e8df4fb66094326d5877ef23096a |
|
_datetimemodule.c
| https://github.com/python/cpython/pull/136573/files#diff-3ee250e3806e884518fd872e9148baf532de6ec54c1cdb4e7679fbb2869d9c47 |
|
_datetimemodule.c.h
| https://github.com/python/cpython/pull/136573/files#diff-0ca80ad55f3aee6bdcb395b3340787120b9923c9b67904652db108cd8f1ac3ec |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L426 |
| Doc/library/datetime.rst | https://github.com/python/cpython/pull/136573/files#diff-591e6aa401ebcd90f71f28b517b3d4437ba293920787df9ed06e037af0b07175 |
|
View file
| https://github.com/serhiy-storchaka/cpython/blob/6e05fb4f709b95c74da674d8482371710689e89a/Doc/library/datetime.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/136573/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/136573/files#diff-591e6aa401ebcd90f71f28b517b3d4437ba293920787df9ed06e037af0b07175 |
|
| https://github.com/python/cpython/pull/136573/files#diff-591e6aa401ebcd90f71f28b517b3d4437ba293920787df9ed06e037af0b07175 |
| Include/internal/pycore_global_objects_fini_generated.h | https://github.com/python/cpython/pull/136573/files#diff-31f682b2a04cda997f449a9816ee5fae305e3bfa7357afcb794615921c6a88d2 |
|
View file
| https://github.com/serhiy-storchaka/cpython/blob/6e05fb4f709b95c74da674d8482371710689e89a/Include/internal/pycore_global_objects_fini_generated.h |
|
Open in desktop
| https://desktop.github.com |
| how customized files appear on GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/python/cpython/pull/136573/files |
| Include/internal/pycore_global_strings.h | https://github.com/python/cpython/pull/136573/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf |
|
View file
| https://github.com/serhiy-storchaka/cpython/blob/6e05fb4f709b95c74da674d8482371710689e89a/Include/internal/pycore_global_strings.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/136573/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/136573/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf |
|
| https://github.com/python/cpython/pull/136573/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf |
|
| https://github.com/python/cpython/pull/136573/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf |
|
| https://github.com/python/cpython/pull/136573/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf |
|
| https://github.com/python/cpython/pull/136573/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf |
|
| https://github.com/python/cpython/pull/136573/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf |
|
| https://github.com/python/cpython/pull/136573/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf |
|
| https://github.com/python/cpython/pull/136573/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf |
|
| https://github.com/python/cpython/pull/136573/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf |
|
| https://github.com/python/cpython/pull/136573/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf |
|
| https://github.com/python/cpython/pull/136573/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf |
|
| https://github.com/python/cpython/pull/136573/files#diff-7656e411eccd63ff8aab3e11de3f45035665f6b639206d3f440727dfb5e0ebcf |
| Include/internal/pycore_runtime_init_generated.h | https://github.com/python/cpython/pull/136573/files#diff-69a1fc720f0b1e9005cf7717dd81c823399da81dd2f6480664b51238c1ef93f0 |
|
View file
| https://github.com/serhiy-storchaka/cpython/blob/6e05fb4f709b95c74da674d8482371710689e89a/Include/internal/pycore_runtime_init_generated.h |
|
Open in desktop
| https://desktop.github.com |
| how customized files appear on GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/python/cpython/pull/136573/files |
| Include/internal/pycore_unicodeobject_generated.h | https://github.com/python/cpython/pull/136573/files#diff-510f6084b63d39305481b719ae0a29475ba759e259a8e4cee4f07c451ffbb2d6 |
|
View file
| https://github.com/serhiy-storchaka/cpython/blob/6e05fb4f709b95c74da674d8482371710689e89a/Include/internal/pycore_unicodeobject_generated.h |
|
Open in desktop
| https://desktop.github.com |
| how customized files appear on GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/python/cpython/pull/136573/files |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L433 |
| Lib/_pydatetime.py | https://github.com/python/cpython/pull/136573/files#diff-5dc97b7989952636b0cd6224bc01469715753358d6e2a9059707f0d06f83b141 |
|
View file
| https://github.com/serhiy-storchaka/cpython/blob/6e05fb4f709b95c74da674d8482371710689e89a/Lib/_pydatetime.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/136573/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/136573/files#diff-5dc97b7989952636b0cd6224bc01469715753358d6e2a9059707f0d06f83b141 |
|
| https://github.com/python/cpython/pull/136573/files#diff-5dc97b7989952636b0cd6224bc01469715753358d6e2a9059707f0d06f83b141 |
|
| https://github.com/python/cpython/pull/136573/files#diff-5dc97b7989952636b0cd6224bc01469715753358d6e2a9059707f0d06f83b141 |
|
| https://github.com/python/cpython/pull/136573/files#diff-5dc97b7989952636b0cd6224bc01469715753358d6e2a9059707f0d06f83b141 |
|
| https://github.com/python/cpython/pull/136573/files#diff-5dc97b7989952636b0cd6224bc01469715753358d6e2a9059707f0d06f83b141 |
|
| https://github.com/python/cpython/pull/136573/files#diff-5dc97b7989952636b0cd6224bc01469715753358d6e2a9059707f0d06f83b141 |
|
| https://github.com/python/cpython/pull/136573/files#diff-5dc97b7989952636b0cd6224bc01469715753358d6e2a9059707f0d06f83b141 |
|
| https://github.com/python/cpython/pull/136573/files#diff-5dc97b7989952636b0cd6224bc01469715753358d6e2a9059707f0d06f83b141 |
|
| https://github.com/python/cpython/pull/136573/files#diff-5dc97b7989952636b0cd6224bc01469715753358d6e2a9059707f0d06f83b141 |
|
| https://github.com/python/cpython/pull/136573/files#diff-5dc97b7989952636b0cd6224bc01469715753358d6e2a9059707f0d06f83b141 |
|
| https://github.com/python/cpython/pull/136573/files#diff-5dc97b7989952636b0cd6224bc01469715753358d6e2a9059707f0d06f83b141 |
|
| https://github.com/python/cpython/pull/136573/files#diff-5dc97b7989952636b0cd6224bc01469715753358d6e2a9059707f0d06f83b141 |
| Please reload this page | https://github.com/python/cpython/pull/136573/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |