| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f63a25e5-e716-906e-335a-9ebc1dddaaa8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C90C:E3F0D:1B2747C:23497FE:696B3539 |
| html-safe-nonce | 2ec324ee46a4b0f6984cfdbc0c4297ccc19ee83f914e25515cb921955776a9f8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTBDOkUzRjBEOjFCMjc0N0M6MjM0OTdGRTo2OTZCMzUzOSIsInZpc2l0b3JfaWQiOiI1OTQ0NjczODA5NjQ0MzM2NDQxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2c991a007d52f1a840f1b62b41d80d3921a6d1fdfa0a5069bcff2cf5440da80c |
| hovercard-subject-tag | pull_request:2709698877 |
| 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/137271/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 | Issue: gh-128813
📚 Documentation preview 📚: https://cpython-previews--137271.org.readthedocs.build/en/137271/c-api/complex.html |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/137271/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F137271%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| 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 |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| 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/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%2F137271%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/137271/files |
| Reload | https://github.com/python/cpython/pull/137271/files |
| Reload | https://github.com/python/cpython/pull/137271/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/137271/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| 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
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/137271/files |
|
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 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:deprecate-cval/128813 | https://github.com/skirpichev/cpython/tree/deprecate-cval/128813 |
|
Conversation
24
| https://github.com/python/cpython/pull/137271 |
|
Commits
11
| https://github.com/python/cpython/pull/137271/commits |
|
Checks
24
| https://github.com/python/cpython/pull/137271/checks |
|
Files changed
| https://github.com/python/cpython/pull/137271/files |
| Please reload this page | https://github.com/python/cpython/pull/137271/files |
|
gh-128813: deprecate cval field of the PyComplexObject struct
| https://github.com/python/cpython/pull/137271/files#top |
|
Show all changes
11 commits
| https://github.com/python/cpython/pull/137271/files |
|
40fc415
gh-128813: deprecate cval field of the PyComplexObject struct
skirpichev Jul 31, 2025
| https://github.com/python/cpython/pull/137271/commits/40fc415af04e86d1833c34f7e71c215d4e240a26 |
|
6f12297
Update Doc/c-api/complex.rst
skirpichev Aug 1, 2025
| https://github.com/python/cpython/pull/137271/commits/6f12297f38a1f894dbda75405dfe31fb0dcd55de |
|
ac29969
Merge branch 'master' into deprecate-cval/128813
skirpichev Aug 1, 2025
| https://github.com/python/cpython/pull/137271/commits/ac2996948cd0353555e47fb94231eed79e2b2102 |
|
6fd0b44
address review: merge news
skirpichev Aug 1, 2025
| https://github.com/python/cpython/pull/137271/commits/6fd0b44ba795c3884c0219713b481e9696e3dec9 |
|
dde16f1
address review: suggest PyComplex_AsCComplex/PyComplex_FromCComplex
skirpichev Aug 6, 2025
| https://github.com/python/cpython/pull/137271/commits/dde16f1215d1d7593f8fc26e8c73d3e107d7edb0 |
|
381da37
Merge branch 'master' into deprecate-cval/128813
skirpichev Aug 6, 2025
| https://github.com/python/cpython/pull/137271/commits/381da373d5d1ea724f2f2d59b57b862b290696d8 |
|
11746aa
Merge branch 'master' into deprecate-cval/128813
skirpichev Aug 7, 2025
| https://github.com/python/cpython/pull/137271/commits/11746aab5ff8b60394b27ca90faa7c97340bc246 |
|
028e8b1
address review: delay removal to 3.20
skirpichev Aug 7, 2025
| https://github.com/python/cpython/pull/137271/commits/028e8b16bf721355120203c426882474f648e7dd |
|
a923733
Update Doc/c-api/complex.rst
skirpichev Aug 8, 2025
| https://github.com/python/cpython/pull/137271/commits/a923733a359f6f9950bdb27fa2cc29949ee75724 |
|
ca67c2a
address review: suggest PyComplex_AsCComplex/PyComplex_FromCComplex
skirpichev Aug 8, 2025
| https://github.com/python/cpython/pull/137271/commits/ca67c2aa1dcc5ce027989e6f67bcc0872588b526 |
|
7e491dc
Apply suggestions from code review
vstinner Aug 8, 2025
| https://github.com/python/cpython/pull/137271/commits/7e491dc88988002530cb0d1dd2a7c5c6c0e0a315 |
|
Clear filters
| https://github.com/python/cpython/pull/137271/files |
| Please reload this page | https://github.com/python/cpython/pull/137271/files |
| Please reload this page | https://github.com/python/cpython/pull/137271/files |
|
complex.rst
| https://github.com/python/cpython/pull/137271/files#diff-061e10a1db4c18840e0fe9d36bbafa88c89d7594959a22efae926447dc842f89 |
|
c-api-pending-removal-in-3.20.rst
| https://github.com/python/cpython/pull/137271/files#diff-543d48ac2127e8421af48c87409f6e59cae0e3e08b95fbffd19f64c0f9cb2671 |
|
index.rst
| https://github.com/python/cpython/pull/137271/files#diff-5a8f2be420d6337767ff02f05de203d94edb779fdae7650809ee2eed5bccce98 |
|
3.15.rst
| https://github.com/python/cpython/pull/137271/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9 |
|
2025-07-31-04-30-42.gh-issue-128813.opL-Pv.rst
| https://github.com/python/cpython/pull/137271/files#diff-e372884e4ab9b6783531bdd1bd144e5937424fba420872d186d1f3daeb09d92a |
| Doc/c-api/complex.rst | https://github.com/python/cpython/pull/137271/files#diff-061e10a1db4c18840e0fe9d36bbafa88c89d7594959a22efae926447dc842f89 |
|
View file
| https://github.com/skirpichev/cpython/blob/7e491dc88988002530cb0d1dd2a7c5c6c0e0a315/Doc/c-api/complex.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/137271/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/137271/files#diff-061e10a1db4c18840e0fe9d36bbafa88c89d7594959a22efae926447dc842f89 |
|
| https://github.com/python/cpython/pull/137271/files#diff-061e10a1db4c18840e0fe9d36bbafa88c89d7594959a22efae926447dc842f89 |
| Doc/deprecations/c-api-pending-removal-in-3.20.rst | https://github.com/python/cpython/pull/137271/files#diff-543d48ac2127e8421af48c87409f6e59cae0e3e08b95fbffd19f64c0f9cb2671 |
|
View file
| https://github.com/skirpichev/cpython/blob/7e491dc88988002530cb0d1dd2a7c5c6c0e0a315/Doc/deprecations/c-api-pending-removal-in-3.20.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/137271/{{ revealButtonHref }} |
| Please reload this page | https://github.com/python/cpython/pull/137271/files |
| Doc/deprecations/index.rst | https://github.com/python/cpython/pull/137271/files#diff-5a8f2be420d6337767ff02f05de203d94edb779fdae7650809ee2eed5bccce98 |
|
View file
| https://github.com/skirpichev/cpython/blob/7e491dc88988002530cb0d1dd2a7c5c6c0e0a315/Doc/deprecations/index.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/137271/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/137271/files#diff-5a8f2be420d6337767ff02f05de203d94edb779fdae7650809ee2eed5bccce98 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L114 |
| Doc/whatsnew/3.15.rst | https://github.com/python/cpython/pull/137271/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9 |
|
View file
| https://github.com/skirpichev/cpython/blob/7e491dc88988002530cb0d1dd2a7c5c6c0e0a315/Doc/whatsnew/3.15.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/137271/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/137271/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9 |
| Please reload this page | https://github.com/python/cpython/pull/137271/files |
|
| https://github.com/python/cpython/pull/137271/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9 |
| Misc/NEWS.d/next/C_API/2025-07-31-04-30-42.gh-issue-128813.opL-Pv.rst | https://github.com/python/cpython/pull/137271/files#diff-e372884e4ab9b6783531bdd1bd144e5937424fba420872d186d1f3daeb09d92a |
|
View file
| https://github.com/skirpichev/cpython/blob/7e491dc88988002530cb0d1dd2a7c5c6c0e0a315/Misc/NEWS.d/next/C_API/2025-07-31-04-30-42.gh-issue-128813.opL-Pv.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/137271/{{ revealButtonHref }} |
| Please reload this page | https://github.com/python/cpython/pull/137271/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 |