Title: gh-94808: Cover handling non-finite numbers from round when ndigits is provided by mdboom · Pull Request #94860 · python/cpython · GitHub
Open Graph Title: gh-94808: Cover handling non-finite numbers from round when ndigits is provided by mdboom · Pull Request #94860 · python/cpython
X Title: gh-94808: Cover handling non-finite numbers from round when ndigits is provided by mdboom · Pull Request #94860 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: This is an interesting corner case. By default round returns int which can't represent non-finite numbers, so it throws various exceptions. When ndigits is provided, round returns float, so non...
X Description: This is an interesting corner case. By default round returns int which can't represent non-finite numbers, so it throws various exceptions. When ndigits is provided, round returns float, so...
Opengraph URL: https://github.com/python/cpython/pull/94860
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:9645464c-7ca2-a6ae-a4b5-d7f607d58c7c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9A72:345462:EE6BB1:144559E:69693E0B |
| html-safe-nonce | 7960a767d39eaf84c381af049702d563d63ac308213530f8a044fcb8b4bb6c90 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTcyOjM0NTQ2MjpFRTZCQjE6MTQ0NTU5RTo2OTY5M0UwQiIsInZpc2l0b3JfaWQiOiI1ODk2ODI4OTkwNjU4MjY0NTg3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 947b66875926e8fadd92c4bfd5ba7c9c402964abadf9efc0d72c5ad866ec0906 |
| hovercard-subject-tag | pull_request:996955228 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/94860/commits |
| twitter:image | https://opengraph.githubassets.com/2b0b76fcbf77c74401ff2bf65723ea9cb138bbb422eabbc4fb63cd9de6174544/python/cpython/pull/94860 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2b0b76fcbf77c74401ff2bf65723ea9cb138bbb422eabbc4fb63cd9de6174544/python/cpython/pull/94860 |
| og:image:alt | This is an interesting corner case. By default round returns int which can't represent non-finite numbers, so it throws various exceptions. When ndigits is provided, round returns float, so non... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mdboom |
| hostname | github.com |
| expected-hostname | github.com |
| None | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| turbo-cache-control | no-cache |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width