Title: Fix default format(float) result when the number is too big by ChJR · Pull Request #2307 · RustPython/RustPython · GitHub
Open Graph Title: Fix default format(float) result when the number is too big by ChJR · Pull Request #2307 · RustPython/RustPython
X Title: Fix default format(float) result when the number is too big by ChJR · Pull Request #2307 · RustPython/RustPython
Description: Before this change, format(1e16) returns '10000000000000000.0' in RustPython while CPython 3.7 returns '1e+16'. After this change, format(1e16) returns '1e+16' in RustPython too.
Open Graph Description: Before this change, format(1e16) returns '10000000000000000.0' in RustPython while CPython 3.7 returns '1e+16'. After this change, format(1e16) returns '1e+16' in RustPython...
X Description: Before this change, format(1e16) returns '10000000000000000.0' in RustPython while CPython 3.7 returns '1e+16'. After this change, format(1e16) returns '1e+1...
Opengraph URL: https://github.com/RustPython/RustPython/pull/2307
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8b42b944-bb4c-9f45-cc00-29cbf8b8bed8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 95A2:3D2B86:CDA8A3:112963B:6A594723 |
| html-safe-nonce | 68f41fffa5dc7827bc0c9041141557261586712b3e36ff88ab9f2885b685f3e8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NUEyOjNEMkI4NjpDREE4QTM6MTEyOTYzQjo2QTU5NDcyMyIsInZpc2l0b3JfaWQiOiI4MjIxMDQxMzczMTQ5MjE4NTk1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | cdb2d77bc562cc873fdb08c12b68c9dd22efaf322bab80a8740f76d307e66abe |
| hovercard-subject-tag | pull_request:509617580 |
| 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/RustPython/RustPython/pull/2307/files |
| twitter:image | https://avatars.githubusercontent.com/u/7029007?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/7029007?s=400&v=4 |
| og:image:alt | Before this change, format(1e16) returns '10000000000000000.0' in RustPython while CPython 3.7 returns '1e+16'. After this change, format(1e16) returns '1e+16' in RustPython... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9f801e05b35c85b2d72eae6534d2b1d4c02ba8732fd046450bab31e2f52450ce |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| 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 | 49918fc503387d6d65b6bc6ce6f711c14d17bfbd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width