| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:ffc2379c-88e0-336c-9edb-f3915e94999b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A3B0:3DAD59:12CE516:189A4A4:6B0006F3 |
| html-safe-nonce | 7beb3a4c4630bb2c2ccd33010435ab86f6827553a233fa4c6415cf7ed5e92b55 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0IwOjNEQUQ1OToxMkNFNTE2OjE4OUE0QTQ6NkIwMDA2RjMiLCJ2aXNpdG9yX2lkIjoiNDAwNzg3NjcwMjg4NDU5NTQ0MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4d76519267c667c2a1ba9aaee02b609d7a5247afffd29eb220727f5991a57040 |
| hovercard-subject-tag | pull_request:1904282574 |
| 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/120088/files |
| twitter:image | https://avatars.githubusercontent.com/u/80244920?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/80244920?s=400&v=4 |
| og:image:alt | Issue: gh-120080 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729 |
| 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 | 16a11879678aaf97e2a42c33ee70830aa084fa37 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/120088/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F120088%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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 |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F120088%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/120088/files |
| Reload | https://github.com/python/cpython/pull/120088/files |
| Reload | https://github.com/python/cpython/pull/120088/files |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | 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/insights |
| 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 |
| Eclips4:issue-120080 | https://github.com/Eclips4/cpython/tree/issue-120080 |
|
Conversation
11
| https://github.com/python/cpython/pull/120088 |
|
Commits
11
| https://github.com/python/cpython/pull/120088/commits |
|
Checks
0
| https://github.com/python/cpython/pull/120088/checks |
|
Files changed
| https://github.com/python/cpython/pull/120088/files |
| Please reload this page | https://github.com/python/cpython/pull/120088/files |
|
gh-120080: Accept None as a valid argument for direct call of the int.__round__
| https://github.com/python/cpython/pull/120088/files#top |
|
Show all changes
11 commits
| https://github.com/python/cpython/pull/120088/files |
|
9b63403
Accept None in int.__round__
Eclips4 Jun 5, 2024
| https://github.com/python/cpython/pull/120088/commits/9b63403045974851ee9ddd10bc45688c33946e31 |
|
b6a64ef
Add a NEWS entry
Eclips4 Jun 5, 2024
| https://github.com/python/cpython/pull/120088/commits/b6a64effa1afca5853922f1d6f51e7fd38b8d723 |
|
6cc13fa
Add a test cases
Eclips4 Jun 5, 2024
| https://github.com/python/cpython/pull/120088/commits/6cc13fa03d8b312ec0aee8e911e16911c196751c |
|
6aa8ded
Add a missing newline
Eclips4 Jun 5, 2024
| https://github.com/python/cpython/pull/120088/commits/6aa8ded5a015efc146c3d8a6e115922e63dea53a |
|
d000960
Change clinic annotation and remove unecessary check
Eclips4 Jun 5, 2024
| https://github.com/python/cpython/pull/120088/commits/d000960bc1f15e690a76da6aece85c67d8d31818 |
|
59e859c
forgot to commit this..
Eclips4 Jun 5, 2024
| https://github.com/python/cpython/pull/120088/commits/59e859c74abbe93cc5af4601bfbe21d0dded0962 |
|
4d01917
Update test_inspect.py
Eclips4 Jun 5, 2024
| https://github.com/python/cpython/pull/120088/commits/4d01917c5e24f351d886ba320f898a333559732a |
|
46a7692
Update Lib/test/test_float.py
Eclips4 Jun 5, 2024
| https://github.com/python/cpython/pull/120088/commits/46a76924ff61dc0aab14e2fd68ff29ba320e1f58 |
|
dde13ea
Fix indent
Eclips4 Jun 5, 2024
| https://github.com/python/cpython/pull/120088/commits/dde13ead309435ce76da1c836a69ce64f65321a4 |
|
e1e4999
Update Lib/test/test_int.py
Eclips4 Jun 5, 2024
| https://github.com/python/cpython/pull/120088/commits/e1e4999af36e36dd3cfecfd799b3bb16368739ee |
|
bd80248
Update Lib/test/test_int.py
Eclips4 Jun 5, 2024
| https://github.com/python/cpython/pull/120088/commits/bd802482a022768bc8a75fd8aea135b6851e1dad |
|
Clear filters
| https://github.com/python/cpython/pull/120088/files |
| Please reload this page | https://github.com/python/cpython/pull/120088/files |
| Please reload this page | https://github.com/python/cpython/pull/120088/files |
|
test_float.py
| https://github.com/python/cpython/pull/120088/files#diff-101957dfb9ef9c3a34ad39d7ad89a2d7d69290980553f9425acda0d5633ad453 |
|
test_inspect.py
| https://github.com/python/cpython/pull/120088/files#diff-92d8ecc68ed9e7ce3b31a764d5b0368db1514365c2a6433bbe3bad5c3210cea0 |
|
test_int.py
| https://github.com/python/cpython/pull/120088/files#diff-18ccbdfd8076e3f5b7f84f250e7f312799c3db073d3c8e351f5ce4ad18d3c304 |
|
2024-06-05-08-39-40.gh-issue-120080.DJFK11.rst
| https://github.com/python/cpython/pull/120088/files#diff-4236297e65c50dfaccec40e3b71c3c0ab47b48bee72a98cf17dd4ae1117b9031 |
|
longobject.c.h
| https://github.com/python/cpython/pull/120088/files#diff-b4a585c360d3d585918431469fae0431e4cd4974b13531bb9e7d1b173e77d8fc |
|
longobject.c
| https://github.com/python/cpython/pull/120088/files#diff-1a6e70e2beeecad88840c67284ac4d54a36998029244771fcc820e801390726a |
| Lib/test/test_float.py | https://github.com/python/cpython/pull/120088/files#diff-101957dfb9ef9c3a34ad39d7ad89a2d7d69290980553f9425acda0d5633ad453 |
|
View file
| https://github.com/Eclips4/cpython/blob/bd802482a022768bc8a75fd8aea135b6851e1dad/Lib/test/test_float.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/120088/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/120088/files#diff-101957dfb9ef9c3a34ad39d7ad89a2d7d69290980553f9425acda0d5633ad453 |
|
| https://github.com/python/cpython/pull/120088/files#diff-101957dfb9ef9c3a34ad39d7ad89a2d7d69290980553f9425acda0d5633ad453 |
| Lib/test/test_inspect/test_inspect.py | https://github.com/python/cpython/pull/120088/files#diff-92d8ecc68ed9e7ce3b31a764d5b0368db1514365c2a6433bbe3bad5c3210cea0 |
|
View file
| https://github.com/Eclips4/cpython/blob/bd802482a022768bc8a75fd8aea135b6851e1dad/Lib/test/test_inspect/test_inspect.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/120088/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/120088/files#diff-92d8ecc68ed9e7ce3b31a764d5b0368db1514365c2a6433bbe3bad5c3210cea0 |
|
| https://github.com/python/cpython/pull/120088/files#diff-92d8ecc68ed9e7ce3b31a764d5b0368db1514365c2a6433bbe3bad5c3210cea0 |
| Lib/test/test_int.py | https://github.com/python/cpython/pull/120088/files#diff-18ccbdfd8076e3f5b7f84f250e7f312799c3db073d3c8e351f5ce4ad18d3c304 |
|
View file
| https://github.com/Eclips4/cpython/blob/bd802482a022768bc8a75fd8aea135b6851e1dad/Lib/test/test_int.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/120088/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/120088/files#diff-18ccbdfd8076e3f5b7f84f250e7f312799c3db073d3c8e351f5ce4ad18d3c304 |
| Please reload this page | https://github.com/python/cpython/pull/120088/files |
|
| https://github.com/python/cpython/pull/120088/files#diff-18ccbdfd8076e3f5b7f84f250e7f312799c3db073d3c8e351f5ce4ad18d3c304 |
| Misc/NEWS.d/next/Core and Builtins/2024-06-05-08-39-40.gh-issue-120080.DJFK11.rst | https://github.com/python/cpython/pull/120088/files#diff-4236297e65c50dfaccec40e3b71c3c0ab47b48bee72a98cf17dd4ae1117b9031 |
|
View file
| https://github.com/Eclips4/cpython/blob/bd802482a022768bc8a75fd8aea135b6851e1dad/Misc/NEWS.d/next/Core%20and%20Builtins/2024-06-05-08-39-40.gh-issue-120080.DJFK11.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/120088/{{ revealButtonHref }} |
| Objects/clinic/longobject.c.h | https://github.com/python/cpython/pull/120088/files#diff-b4a585c360d3d585918431469fae0431e4cd4974b13531bb9e7d1b173e77d8fc |
|
View file
| https://github.com/Eclips4/cpython/blob/bd802482a022768bc8a75fd8aea135b6851e1dad/Objects/clinic/longobject.c.h |
|
Open in desktop
| https://desktop.github.com |
| how customized files appear on GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/python/cpython/pull/120088/files |
| Objects/longobject.c | https://github.com/python/cpython/pull/120088/files#diff-1a6e70e2beeecad88840c67284ac4d54a36998029244771fcc820e801390726a |
|
View file
| https://github.com/Eclips4/cpython/blob/bd802482a022768bc8a75fd8aea135b6851e1dad/Objects/longobject.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/120088/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/120088/files#diff-1a6e70e2beeecad88840c67284ac4d54a36998029244771fcc820e801390726a |
|
| https://github.com/python/cpython/pull/120088/files#diff-1a6e70e2beeecad88840c67284ac4d54a36998029244771fcc820e801390726a |
|
| https://github.com/python/cpython/pull/120088/files#diff-1a6e70e2beeecad88840c67284ac4d54a36998029244771fcc820e801390726a |
|
| https://github.com/python/cpython/pull/120088/files#diff-1a6e70e2beeecad88840c67284ac4d54a36998029244771fcc820e801390726a |
|
| 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 |