| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:4b9b7c21-7db5-3b83-9184-9b8c57332cf7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E3DC:39BEFD:A6E52:E6DDE:6A535F3F |
| html-safe-nonce | b677a1cd69642b87b61625d9b47bfe7008e3404a8db522be97804ea020d4767e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0RDOjM5QkVGRDpBNkU1MjpFNkRERTo2QTUzNUYzRiIsInZpc2l0b3JfaWQiOiI2Nzg4MzE4ODEyMzg1MjcxNjE1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c11f2a1eeefdd82305575c1b355bfcc1a476c82947d9a5bb048f5910084c29f1 |
| hovercard-subject-tag | pull_request:2558166420 |
| 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/135008/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 the ValueError exception object:
>>> import math
>>> try:
... math.gamma(-0.0)
... except ValueError as... |
| 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/135008/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F135008%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%2F135008%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/135008/files |
| Reload | https://github.com/python/cpython/pull/135008/files |
| Reload | https://github.com/python/cpython/pull/135008/files |
| Please reload this page | https://github.com/python/cpython/pull/135008/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/135008/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:math-ValueError/133895 | https://github.com/skirpichev/cpython/tree/math-ValueError/133895 |
|
Conversation
11
| https://github.com/python/cpython/pull/135008 |
|
Commits
4
| https://github.com/python/cpython/pull/135008/commits |
|
Checks
41
| https://github.com/python/cpython/pull/135008/checks |
|
Files changed
| https://github.com/python/cpython/pull/135008/files |
| Please reload this page | https://github.com/python/cpython/pull/135008/files |
|
gh-133895: provide C99 Annex F return values for math's functions
| https://github.com/python/cpython/pull/135008/files#top |
|
Show all changes
4 commits
| https://github.com/python/cpython/pull/135008/files |
|
2bfdc0a
gh-133895: provide C99 Annex F return values for math functions
skirpichev Jun 1, 2025
| https://github.com/python/cpython/pull/135008/commits/2bfdc0aaa60cb4ded592e3282e53f224a4991b77 |
|
c1eb063
Apply suggestions from code review
skirpichev Jun 1, 2025
| https://github.com/python/cpython/pull/135008/commits/c1eb063213f9aeb607d95ed4b91e4ad289a61ab7 |
|
df077cb
Merge branch 'main' into math-ValueError/133895
skirpichev Jun 24, 2025
| https://github.com/python/cpython/pull/135008/commits/df077cb17539b7959e27c7fd60a5bebd41ded925 |
|
64a0018
Merge branch 'main' into math-ValueError/133895
skirpichev Oct 10, 2025
| https://github.com/python/cpython/pull/135008/commits/64a00185f9c2f81faaf9d79f8d16f88e894d4dce |
|
Clear filters
| https://github.com/python/cpython/pull/135008/files |
| Please reload this page | https://github.com/python/cpython/pull/135008/files |
| Please reload this page | https://github.com/python/cpython/pull/135008/files |
|
math.rst
| https://github.com/python/cpython/pull/135008/files#diff-cda4d855eb1739006a497bdead4e353aef302d1837ee7271ec5e4ba45f675221 |
|
3.15.rst
| https://github.com/python/cpython/pull/135008/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9 |
|
test_math.py
| https://github.com/python/cpython/pull/135008/files#diff-a39b1e44e20048f5b8207fee83df00a2541a7f02716113e6243c33165e628cd5 |
|
2025-06-01-16-10-07.gh-issue-133895.1-SE2w.rst
| https://github.com/python/cpython/pull/135008/files#diff-e86cc8b50ab9c33a70c8f8d215c6bb68f17df3b8774da305198ee9a04ee92737 |
|
mathmodule.c
| https://github.com/python/cpython/pull/135008/files#diff-5b1186dfcc44670529aa53cb728a1c005f58f38324c24787a49f22cec36841c7 |
| Doc/library/math.rst | https://github.com/python/cpython/pull/135008/files#diff-cda4d855eb1739006a497bdead4e353aef302d1837ee7271ec5e4ba45f675221 |
|
View file
| https://github.com/skirpichev/cpython/blob/64a00185f9c2f81faaf9d79f8d16f88e894d4dce/Doc/library/math.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/135008/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/135008/files#diff-cda4d855eb1739006a497bdead4e353aef302d1837ee7271ec5e4ba45f675221 |
|
| https://github.com/python/cpython/pull/135008/files#diff-cda4d855eb1739006a497bdead4e353aef302d1837ee7271ec5e4ba45f675221 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L116 |
| Doc/whatsnew/3.15.rst | https://github.com/python/cpython/pull/135008/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9 |
|
View file
| https://github.com/skirpichev/cpython/blob/64a00185f9c2f81faaf9d79f8d16f88e894d4dce/Doc/whatsnew/3.15.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/135008/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/135008/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9 |
|
| https://github.com/python/cpython/pull/135008/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9 |
| Lib/test/test_math.py | https://github.com/python/cpython/pull/135008/files#diff-a39b1e44e20048f5b8207fee83df00a2541a7f02716113e6243c33165e628cd5 |
|
View file
| https://github.com/skirpichev/cpython/blob/64a00185f9c2f81faaf9d79f8d16f88e894d4dce/Lib/test/test_math.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/135008/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/135008/files#diff-a39b1e44e20048f5b8207fee83df00a2541a7f02716113e6243c33165e628cd5 |
|
| https://github.com/python/cpython/pull/135008/files#diff-a39b1e44e20048f5b8207fee83df00a2541a7f02716113e6243c33165e628cd5 |
|
| https://github.com/python/cpython/pull/135008/files#diff-a39b1e44e20048f5b8207fee83df00a2541a7f02716113e6243c33165e628cd5 |
|
| https://github.com/python/cpython/pull/135008/files#diff-a39b1e44e20048f5b8207fee83df00a2541a7f02716113e6243c33165e628cd5 |
| Misc/NEWS.d/next/Library/2025-06-01-16-10-07.gh-issue-133895.1-SE2w.rst | https://github.com/python/cpython/pull/135008/files#diff-e86cc8b50ab9c33a70c8f8d215c6bb68f17df3b8774da305198ee9a04ee92737 |
|
View file
| https://github.com/skirpichev/cpython/blob/64a00185f9c2f81faaf9d79f8d16f88e894d4dce/Misc/NEWS.d/next/Library/2025-06-01-16-10-07.gh-issue-133895.1-SE2w.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/135008/{{ revealButtonHref }} |
| Modules/mathmodule.c | https://github.com/python/cpython/pull/135008/files#diff-5b1186dfcc44670529aa53cb728a1c005f58f38324c24787a49f22cec36841c7 |
|
View file
| https://github.com/skirpichev/cpython/blob/64a00185f9c2f81faaf9d79f8d16f88e894d4dce/Modules/mathmodule.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/135008/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/135008/files#diff-5b1186dfcc44670529aa53cb728a1c005f58f38324c24787a49f22cec36841c7 |
| picnixz | https://github.com/picnixz |
| Jun 1, 2025 | https://github.com/python/cpython/pull/135008/files#r2119373565 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/135008/files |
| skirpichev | https://github.com/skirpichev |
| Jun 1, 2025 | https://github.com/python/cpython/pull/135008/files#r2119430496 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/135008/files |
| picnixz | https://github.com/picnixz |
| Jun 1, 2025 | https://github.com/python/cpython/pull/135008/files#r2119459066 |
| Please reload this page | https://github.com/python/cpython/pull/135008/files |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/135008/files |
| skirpichev | https://github.com/skirpichev |
| Jun 1, 2025 | https://github.com/python/cpython/pull/135008/files#r2119504975 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/135008/files |
| picnixz | https://github.com/picnixz |
| Jun 1, 2025 | https://github.com/python/cpython/pull/135008/files#r2119529375 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/135008/files |
| skirpichev | https://github.com/skirpichev |
| Jun 2, 2025 | https://github.com/python/cpython/pull/135008/files#r2119902010 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/135008/files |
| skirpichev | https://github.com/skirpichev |
| Jun 2, 2025 | https://github.com/python/cpython/pull/135008/files#r2119969947 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| #134995 | https://github.com/python/cpython/pull/134995 |
| Please reload this page | https://github.com/python/cpython/pull/135008/files |
|
| https://github.com/python/cpython/pull/135008/files#diff-5b1186dfcc44670529aa53cb728a1c005f58f38324c24787a49f22cec36841c7 |
|
| https://github.com/python/cpython/pull/135008/files#diff-5b1186dfcc44670529aa53cb728a1c005f58f38324c24787a49f22cec36841c7 |
|
| https://github.com/python/cpython/pull/135008/files#diff-5b1186dfcc44670529aa53cb728a1c005f58f38324c24787a49f22cec36841c7 |
|
| https://github.com/python/cpython/pull/135008/files#diff-5b1186dfcc44670529aa53cb728a1c005f58f38324c24787a49f22cec36841c7 |
|
| https://github.com/python/cpython/pull/135008/files#diff-5b1186dfcc44670529aa53cb728a1c005f58f38324c24787a49f22cec36841c7 |
| Please reload this page | https://github.com/python/cpython/pull/135008/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 |