| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:4b3a4871-c3ad-7eaa-faf4-9d283b799e8a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CC68:2C9A2F:2FE8A:3A9BE:6969B87E |
| html-safe-nonce | 160414369f0325b3622b9315707b8d4b33ac7e8e61fd2425d54dfdf1e9661bac |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzY4OjJDOUEyRjoyRkU4QTozQTlCRTo2OTY5Qjg3RSIsInZpc2l0b3JfaWQiOiIxODM1NjU4MTc5Mjg2NTEzNzkwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2463fa9995a89059c62fe8f518d388b4035890ab9677dd7a0fe4f730db5059bb |
| hovercard-subject-tag | pull_request:1582079713 |
| 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/111591/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-111495 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | acedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056 |
| 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 | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/111591/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F111591%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%2F111591%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/111591/files |
| Reload | https://github.com/python/cpython/pull/111591/files |
| Reload | https://github.com/python/cpython/pull/111591/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/111591/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/111591/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 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| python:main | https://github.com/python/cpython/tree/main |
| skirpichev:capi-complex-tests | https://github.com/skirpichev/cpython/tree/capi-complex-tests |
|
Conversation
34
| https://github.com/python/cpython/pull/111591 |
|
Commits
16
| https://github.com/python/cpython/pull/111591/commits |
|
Checks
0
| https://github.com/python/cpython/pull/111591/checks |
|
Files changed
| https://github.com/python/cpython/pull/111591/files |
| Please reload this page | https://github.com/python/cpython/pull/111591/files |
|
gh-111495: Add tests for PyComplex C API
| https://github.com/python/cpython/pull/111591/files#top |
|
Show all changes
16 commits
| https://github.com/python/cpython/pull/111591/files |
|
b88f657
gh-111495: Add tests for PyComplex C API
skirpichev Nov 1, 2023
| https://github.com/python/cpython/pull/111591/commits/b88f6570eeb135f58231da6d6937d5ea1535609d |
|
9f04bcb
Simplify complex_fromdoubles()
skirpichev Nov 1, 2023
| https://github.com/python/cpython/pull/111591/commits/9f04bcb6c8213aadbfbdd1cfe7dc88f6d01bf06a |
|
d19a9d4
Use assertEqual()
skirpichev Nov 1, 2023
| https://github.com/python/cpython/pull/111591/commits/d19a9d433fc818bd0487d5054e0a9a386791a708 |
|
c8adbd2
Move tests to Lib/test/test_capi/test_complex.py
skirpichev Nov 1, 2023
| https://github.com/python/cpython/pull/111591/commits/c8adbd2c0ca23e82c6dbd8013bce3c7f151f75a2 |
|
6ead74b
Add missing coverage tests
skirpichev Nov 2, 2023
| https://github.com/python/cpython/pull/111591/commits/6ead74be9ab94e89adaff85cc571126b5af60d49 |
|
67fb214
Cleanup, add comments
skirpichev Nov 2, 2023
| https://github.com/python/cpython/pull/111591/commits/67fb2143bf86adcfcdc72aa8a7e4ce16b4331abb |
|
7694c60
Apply suggestions from code review
skirpichev Nov 4, 2023
| https://github.com/python/cpython/pull/111591/commits/7694c60c844b8210416be155c3ab8327b7908bf9 |
|
70796bd
+1
skirpichev Nov 4, 2023
| https://github.com/python/cpython/pull/111591/commits/70796bd0f95e7c077090aefd642b1eaa034b04fe |
|
5c1cd4f
Correct typos and wrongly added test
skirpichev Nov 4, 2023
| https://github.com/python/cpython/pull/111591/commits/5c1cd4f20c04d364250d70f00d73510e1cf362fe |
|
20e37e5
Drop comments
skirpichev Nov 4, 2023
| https://github.com/python/cpython/pull/111591/commits/20e37e5a96525006a225b414d4ec27a996d1ea69 |
|
b743f4b
Use PyComplex_AsCComplex() in complex_fromccomplex()
skirpichev Nov 4, 2023
| https://github.com/python/cpython/pull/111591/commits/b743f4b4f83a3202edcb7f16e3fa2f00ef64903b |
|
89a18ff
Merge branch 'main' into capi-complex-tests
skirpichev Nov 4, 2023
| https://github.com/python/cpython/pull/111591/commits/89a18ff6c85ae1b083ad75a931903ef1f9145c0c |
|
34347fa
Use PyArg_Parse('D') instead
skirpichev Nov 4, 2023
| https://github.com/python/cpython/pull/111591/commits/34347fad715295b4023b703d707f52ed7cd7a737 |
|
09f5246
s/3.14/4.25/g
skirpichev Nov 5, 2023
| https://github.com/python/cpython/pull/111591/commits/09f52463b8b7e35c220ca7515a3be4e8ee660d2d |
|
3682e51
Reorder statements in test_as* and add an integer test for imagasdoub…
skirpichev Nov 5, 2023
| https://github.com/python/cpython/pull/111591/commits/3682e5135c2860a97972d9bdcb2753f05b84df30 |
|
a4981d6
Apply suggestions from code review
serhiy-storchaka Nov 5, 2023
| https://github.com/python/cpython/pull/111591/commits/a4981d6534635d14d40f8db246710287848b4ce7 |
|
Clear filters
| https://github.com/python/cpython/pull/111591/files |
| Please reload this page | https://github.com/python/cpython/pull/111591/files |
| Please reload this page | https://github.com/python/cpython/pull/111591/files |
|
test_complex.py
| https://github.com/python/cpython/pull/111591/files#diff-1890de60f93f3b25e59d682f48055efeb4617724624b0d198bb39cf557aefaa8 |
|
complex.c
| https://github.com/python/cpython/pull/111591/files#diff-a379c16e522789d7ecfd11a82796f178f34c0e2235716c4c9345f68746b7a6a3 |
| Lib/test/test_capi/test_complex.py | https://github.com/python/cpython/pull/111591/files#diff-1890de60f93f3b25e59d682f48055efeb4617724624b0d198bb39cf557aefaa8 |
|
View file
| https://github.com/skirpichev/cpython/blob/a4981d6534635d14d40f8db246710287848b4ce7/Lib/test/test_capi/test_complex.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/111591/{{ revealButtonHref }} |
| Please reload this page | https://github.com/python/cpython/pull/111591/files |
| Please reload this page | https://github.com/python/cpython/pull/111591/files |
| Please reload this page | https://github.com/python/cpython/pull/111591/files |
| Please reload this page | https://github.com/python/cpython/pull/111591/files |
| Please reload this page | https://github.com/python/cpython/pull/111591/files |
| Please reload this page | https://github.com/python/cpython/pull/111591/files |
| Please reload this page | https://github.com/python/cpython/pull/111591/files |
| Please reload this page | https://github.com/python/cpython/pull/111591/files |
| Please reload this page | https://github.com/python/cpython/pull/111591/files |
| Please reload this page | https://github.com/python/cpython/pull/111591/files |
| Please reload this page | https://github.com/python/cpython/pull/111591/files |
| Please reload this page | https://github.com/python/cpython/pull/111591/files |
| Modules/_testcapi/complex.c | https://github.com/python/cpython/pull/111591/files#diff-a379c16e522789d7ecfd11a82796f178f34c0e2235716c4c9345f68746b7a6a3 |
|
View file
| https://github.com/skirpichev/cpython/blob/a4981d6534635d14d40f8db246710287848b4ce7/Modules/_testcapi/complex.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/111591/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/111591/files#diff-a379c16e522789d7ecfd11a82796f178f34c0e2235716c4c9345f68746b7a6a3 |
|
| 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 |