| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:1831ff07-ee69-7922-987b-9bbbc23c9ce7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DEFE:262FA5:717FA2:99CF85:6A53034F |
| html-safe-nonce | 2da23cbbc96f83d2a4aa478db29217b9a8fc1c83f35c0e83cb66212c3e194d10 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUZFOjI2MkZBNTo3MTdGQTI6OTlDRjg1OjZBNTMwMzRGIiwidmlzaXRvcl9pZCI6IjYyMjc0MjYyNTEzNzc5MzUxODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 85b80928194cc7011daca8bab38662f51b19295b1bd2f84300f1b082fc344935 |
| hovercard-subject-tag | pull_request:2557821905 |
| 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/134995/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 | Now this information is available as the "value" attribute of raised exception objects, for example:
>>> import cmath
>>> try:
... cmath.log(complex(-0.0, 0))
... ex... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/134995/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F134995%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%2F134995%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/134995/files |
| Reload | https://github.com/python/cpython/pull/134995/files |
| Reload | https://github.com/python/cpython/pull/134995/files |
| Please reload this page | https://github.com/python/cpython/pull/134995/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/134995/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 |
| skirpichev | https://github.com/skirpichev |
| python:main | https://github.com/python/cpython/tree/main |
| skirpichev:cmath-ValueError/133895 | https://github.com/skirpichev/cpython/tree/cmath-ValueError/133895 |
|
Conversation
25
| https://github.com/python/cpython/pull/134995 |
|
Commits
18
| https://github.com/python/cpython/pull/134995/commits |
|
Checks
41
| https://github.com/python/cpython/pull/134995/checks |
|
Files changed
| https://github.com/python/cpython/pull/134995/files |
| Please reload this page | https://github.com/python/cpython/pull/134995/files |
|
gh-133895: provide C99 Annex G return values for cmath's functions
| https://github.com/python/cpython/pull/134995/files#top |
|
Show all changes
18 commits
| https://github.com/python/cpython/pull/134995/files |
|
a13e463
gh-133895: provide C99 Annex G return values for cmath functions
skirpichev May 11, 2025
| https://github.com/python/cpython/pull/134995/commits/a13e463d6ed9ca227857c8b2b094a877f8e88259 |
|
d797cf8
Merge branch 'main' into cmath-ValueError/133895
skirpichev Jun 1, 2025
| https://github.com/python/cpython/pull/134995/commits/d797cf84d792ec3c501ca48985981ca9933a8a55 |
|
cea09b7
Apply suggestions from code review
skirpichev Jun 1, 2025
| https://github.com/python/cpython/pull/134995/commits/cea09b7da01460b9d2dfdf92621daddb1ae35b9c |
|
5a8012b
Apply suggestions from code review
skirpichev Jun 1, 2025
| https://github.com/python/cpython/pull/134995/commits/5a8012b306fd2e337f8531c76a610c5c32144001 |
|
19162e1
Apply suggestions from code review
skirpichev Jun 1, 2025
| https://github.com/python/cpython/pull/134995/commits/19162e158af8c78d8a405206a1f701f750fa4ce1 |
|
21f27f3
+1
skirpichev Jun 1, 2025
| https://github.com/python/cpython/pull/134995/commits/21f27f3bebc625c6b0ad37e017fb126fb8b0bcf5 |
|
163f948
Merge branch 'master' into cmath-ValueError/133895
skirpichev Jun 2, 2025
| https://github.com/python/cpython/pull/134995/commits/163f948fa1c1016fbcb303bc8081daeb9c986baa |
|
0588bb3
use PyErr_WriteUnraisable
skirpichev Jun 2, 2025
| https://github.com/python/cpython/pull/134995/commits/0588bb35cd30db42dbf3c6f86a5973c2551c8717 |
|
8fd4fc7
Merge branch 'master' into cmath-ValueError/133895
skirpichev Jun 5, 2025
| https://github.com/python/cpython/pull/134995/commits/8fd4fc7b6fdbb50205fbed5f9ae69f87db772a5c |
|
e326374
address review: redo exceptions handling, support OverfowError
skirpichev Jun 5, 2025
| https://github.com/python/cpython/pull/134995/commits/e326374129ae78462cb6982df87574bb7db6604d |
|
4ebe14f
enable testing of values for OverflowError's
skirpichev Jun 5, 2025
| https://github.com/python/cpython/pull/134995/commits/4ebe14fbb4a068af184e6ce907a3376ddcad3abd |
|
0d7eb63
Correct return values for cosh/sinh in case of overflows
skirpichev Jun 5, 2025
| https://github.com/python/cpython/pull/134995/commits/0d7eb635e8e4adea6b586c0e5169c95ae4386e73 |
|
6035f81
+ docs
skirpichev Jun 5, 2025
| https://github.com/python/cpython/pull/134995/commits/6035f811fc5f659fdb46e514338b463834facb2b |
|
e462a53
cleanup
skirpichev Jun 5, 2025
| https://github.com/python/cpython/pull/134995/commits/e462a535c3e965465b7a4be0272937b8cf102b9f |
|
ecbb8fd
Update Doc/library/cmath.rst
skirpichev Jun 8, 2025
| https://github.com/python/cpython/pull/134995/commits/ecbb8fdb29708927128077e742a62093176180d8 |
|
881989e
address review: add comment
skirpichev Jun 8, 2025
| https://github.com/python/cpython/pull/134995/commits/881989eda8a52747da78fffc79b7da394aa2c428 |
|
76a79fc
Merge branch 'main' into cmath-ValueError/133895
skirpichev Oct 10, 2025
| https://github.com/python/cpython/pull/134995/commits/76a79fc387e3bbfc786b9b341747ab7b76db1199 |
|
79acbaf
Merge branch 'main' into cmath-ValueError/133895
skirpichev Oct 14, 2025
| https://github.com/python/cpython/pull/134995/commits/79acbaf8704ea3043adda4718aa74ad7925f7709 |
|
Clear filters
| https://github.com/python/cpython/pull/134995/files |
| Please reload this page | https://github.com/python/cpython/pull/134995/files |
| Please reload this page | https://github.com/python/cpython/pull/134995/files |
|
cmath.rst
| https://github.com/python/cpython/pull/134995/files#diff-e142b99cef22bf2a5eeb68336e8caec2b2c99e96ae39141cffb7a7a37fc1b24e |
|
3.15.rst
| https://github.com/python/cpython/pull/134995/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9 |
|
test_cmath.py
| https://github.com/python/cpython/pull/134995/files#diff-89135b6add278d73d6716b516a6d59919f98bce02dcbae0687c4b6b6766d5b36 |
|
2025-06-01-10-38-00.gh-issue-133895.0X7c-V.rst
| https://github.com/python/cpython/pull/134995/files#diff-4092a1f834c4c18f4f7a67eb63924cbfc5089980f4dee5d6d023b0a9e8f27701 |
|
cmathmodule.c.h
| https://github.com/python/cpython/pull/134995/files#diff-62a8f157649d57007ac041de645fbf8e7ed1cd544c929046a7672dffe13aa3e5 |
|
cmathmodule.c
| https://github.com/python/cpython/pull/134995/files#diff-cd2894d4ca90afe093b0f2d91876c388821ba40f1454d3d4cc6dc7af69d8aedd |
| Doc/library/cmath.rst | https://github.com/python/cpython/pull/134995/files#diff-e142b99cef22bf2a5eeb68336e8caec2b2c99e96ae39141cffb7a7a37fc1b24e |
|
View file
| https://github.com/skirpichev/cpython/blob/79acbaf8704ea3043adda4718aa74ad7925f7709/Doc/library/cmath.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/134995/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/134995/files#diff-e142b99cef22bf2a5eeb68336e8caec2b2c99e96ae39141cffb7a7a37fc1b24e |
|
| https://github.com/python/cpython/pull/134995/files#diff-e142b99cef22bf2a5eeb68336e8caec2b2c99e96ae39141cffb7a7a37fc1b24e |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L116 |
| Doc/whatsnew/3.15.rst | https://github.com/python/cpython/pull/134995/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9 |
|
View file
| https://github.com/skirpichev/cpython/blob/79acbaf8704ea3043adda4718aa74ad7925f7709/Doc/whatsnew/3.15.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/134995/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/134995/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9 |
|
| https://github.com/python/cpython/pull/134995/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9 |
| Lib/test/test_cmath.py | https://github.com/python/cpython/pull/134995/files#diff-89135b6add278d73d6716b516a6d59919f98bce02dcbae0687c4b6b6766d5b36 |
|
View file
| https://github.com/skirpichev/cpython/blob/79acbaf8704ea3043adda4718aa74ad7925f7709/Lib/test/test_cmath.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/134995/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/134995/files#diff-89135b6add278d73d6716b516a6d59919f98bce02dcbae0687c4b6b6766d5b36 |
|
| https://github.com/python/cpython/pull/134995/files#diff-89135b6add278d73d6716b516a6d59919f98bce02dcbae0687c4b6b6766d5b36 |
| Misc/NEWS.d/next/Library/2025-06-01-10-38-00.gh-issue-133895.0X7c-V.rst | https://github.com/python/cpython/pull/134995/files#diff-4092a1f834c4c18f4f7a67eb63924cbfc5089980f4dee5d6d023b0a9e8f27701 |
|
View file
| https://github.com/skirpichev/cpython/blob/79acbaf8704ea3043adda4718aa74ad7925f7709/Misc/NEWS.d/next/Library/2025-06-01-10-38-00.gh-issue-133895.0X7c-V.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/134995/{{ revealButtonHref }} |
| Please reload this page | https://github.com/python/cpython/pull/134995/files |
| Please reload this page | https://github.com/python/cpython/pull/134995/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 |