| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:7abf695b-9071-a874-2a4a-56ff99cd1fc8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D002:19B879:3D1FC35:56D5943:6A54FF7B |
| html-safe-nonce | 116099d47fd491fe63d48f3ca2f748ce6b2e2ff8c238259cb02b546342eb371d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDAyOjE5Qjg3OTozRDFGQzM1OjU2RDU5NDM6NkE1NEZGN0IiLCJ2aXNpdG9yX2lkIjoiNzg0MjExNzg0OTA5OTU5OTczOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ebf5f84c423e393ed8fe8f94b65ef636468fe9e612a27a96acbec0cc2dce2087 |
| hovercard-subject-tag | pull_request:2781444640 |
| 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/138221/files |
| twitter:image | https://avatars.githubusercontent.com/u/2155800?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/2155800?s=400&v=4 |
| og:image:alt | use "defining class" converter, where possible
convert Context._unsafe* to Argument Clinic
Issue: gh-73487 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | eae2aab99907699a22d2c8449aa683ca74454fca87211b98f7c7b722086b2839 |
| 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 | 6a35ab858be185cd86d12b93a43bccf34e8d8536 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/138221/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F138221%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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 |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F138221%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/138221/files |
| Reload | https://github.com/python/cpython/pull/138221/files |
| Reload | https://github.com/python/cpython/pull/138221/files |
| Please reload this page | https://github.com/python/cpython/pull/138221/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/138221/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.8k
| 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.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
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 and quality
| 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 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 |
| vstinner | https://github.com/vstinner |
| python:main | https://github.com/python/cpython/tree/main |
| skirpichev:ac-decimal/73487-pt7 | https://github.com/skirpichev/cpython/tree/ac-decimal/73487-pt7 |
|
Conversation
23
| https://github.com/python/cpython/pull/138221 |
|
Commits
12
| https://github.com/python/cpython/pull/138221/commits |
|
Checks
41
| https://github.com/python/cpython/pull/138221/checks |
|
Files changed
| https://github.com/python/cpython/pull/138221/files |
| Please reload this page | https://github.com/python/cpython/pull/138221/files |
|
gh-73487: Convert _decimal to use Argument Clinic (part 7)
| https://github.com/python/cpython/pull/138221/files#top |
|
Show all changes
12 commits
| https://github.com/python/cpython/pull/138221/files |
|
860a942
gh-73487: Convert _decimal to use Argument Clinic (part 7)
skirpichev Aug 22, 2025
| https://github.com/python/cpython/pull/138221/commits/860a94250d42fbe33d8d139997e7efea5a6007cb |
|
c7f9471
+1
skirpichev Aug 28, 2025
| https://github.com/python/cpython/pull/138221/commits/c7f947154113d14324a54111d5eb1e7fdea10730 |
|
d02e916
convert Context._unsafe* to Argument Clinic
skirpichev Aug 28, 2025
| https://github.com/python/cpython/pull/138221/commits/d02e9163c91370fdc655c6aaca27a04f8fa1e819 |
|
d18f805
+ more "defining class"
skirpichev Aug 28, 2025
| https://github.com/python/cpython/pull/138221/commits/d18f805edc885bea4b2d2abab8f67c72400c76a4 |
|
31fa34f
address review: update comments
skirpichev Aug 29, 2025
| https://github.com/python/cpython/pull/138221/commits/31fa34f406f9d591d149aa8f13a49c4a231eedb8 |
|
379ee7f
Merge branch 'master' into ac-decimal/73487-pt7
skirpichev Sep 2, 2025
| https://github.com/python/cpython/pull/138221/commits/379ee7fa3dcea1f3be2bcedd05f22518d292dea5 |
|
6628819
address review: minor fixes
skirpichev Sep 2, 2025
| https://github.com/python/cpython/pull/138221/commits/6628819d283d744c2746bea59d559e1a8f388e34 |
|
1fa30dc
address review: refactor context_copy()
skirpichev Sep 2, 2025
| https://github.com/python/cpython/pull/138221/commits/1fa30dc07cd4a70804d71c1d1265a7b6d972a096 |
|
a0f562b
address review: convert as_tuple to use defining_class converter
skirpichev Sep 2, 2025
| https://github.com/python/cpython/pull/138221/commits/a0f562b36c8f563a9b1f31dd4e1b2b6577d56d3e |
|
fd960d4
address review: fix typo
skirpichev Sep 10, 2025
| https://github.com/python/cpython/pull/138221/commits/fd960d4fcd853b9d48db4ad23357c5759a7f3e83 |
|
e938880
address review: reorder args of context_copy()
skirpichev Sep 10, 2025
| https://github.com/python/cpython/pull/138221/commits/e93888064ff5eb623a0155c8e92fa443d8ecb8d6 |
|
d7f9407
Merge branch 'master' into ac-decimal/73487-pt7
skirpichev Sep 10, 2025
| https://github.com/python/cpython/pull/138221/commits/d7f94079b468a1051cda227f021af06791eccc6c |
|
Clear filters
| https://github.com/python/cpython/pull/138221/files |
| Please reload this page | https://github.com/python/cpython/pull/138221/files |
| Please reload this page | https://github.com/python/cpython/pull/138221/files |
|
_decimal.c
| https://github.com/python/cpython/pull/138221/files#diff-071237c57ffb81dd4303eb5f02e5c5a661891a31c746c8f55a97a39659ad95d6 |
|
_decimal.c.h
| https://github.com/python/cpython/pull/138221/files#diff-b72f6e778042883ee1e45b61fe25d8a3a6c13a928c039a6398e390f1d76fb438 |
| Please reload this page | https://github.com/python/cpython/pull/138221/files |
| Please reload this page | https://github.com/python/cpython/pull/138221/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 |