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: A Python Interpreter written in Rust. Contribute to RustPython/RustPython development by creating an account on GitHub.
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 | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:1112ad6e-9fdc-016a-cc66-5d028c16c819 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AC82:3FC493:1961F7B:24B259B:6A58C8B5 |
| html-safe-nonce | f824517b190c3096adb355587b208c2f86dfdb79d1d7de35c51608e91169ad38 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzgyOjNGQzQ5MzoxOTYxRjdCOjI0QjI1OUI6NkE1OEM4QjUiLCJ2aXNpdG9yX2lkIjoiNTI2Njk4MTQ4MTM0ODY0NzA5MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7bbbc7ae0334de979e343ba9f07b7478c1a784deb9011e171dfc971419ac79ec |
| 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/_view_fragments/voltron/pull_requests/show/RustPython/RustPython/2307/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/1b6fe8f751ac9b19b71f0c65b458304be86b134f3f6a55243906de6bcd5db482/RustPython/RustPython/pull/2307 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1b6fe8f751ac9b19b71f0c65b458304be86b134f3f6a55243906de6bcd5db482/RustPython/RustPython/pull/2307 |
| 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:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ChJR |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| turbo-cache-control | no-cache |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7d699f0c51c1f58938601870a21967b74eaad94d |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width