Title: Panic occurs when formatting with separator and some format specifier by yt2b · Pull Request #6213 · RustPython/RustPython · GitHub
Open Graph Title: Panic occurs when formatting with separator and some format specifier by yt2b · Pull Request #6213 · RustPython/RustPython
X Title: Panic occurs when formatting with separator and some format specifier by yt2b · Pull Request #6213 · RustPython/RustPython
Description: Summary #6212 I've fixed get_separator_interval. And I've added extra tests. >>>>> f"{123456:,g}" '123,456' >>>>> f"{123456:,e}" '1.234560e+05' >>>>> f"{123456:,%}" '12,345,600.000000%' Summary by CodeRabbit New Features Extended thousands-separator support to decimal, fixed-point, general/scientific, and percentage numeric formats. Tests Added tests verifying thousands-separator formatting across floating-point and integer specifiers, scientific and percentage formats, and signed/uppercase variations.
Open Graph Description: Summary #6212 I've fixed get_separator_interval. And I've added extra tests. >>>>> f"{123456:,g}" '123,456' >>>>> f"{123456:,e}" ...
X Description: Summary #6212 I've fixed get_separator_interval. And I've added extra tests. >>>>> f"{123456:,g}" '123,456' &...
Opengraph URL: https://github.com/RustPython/RustPython/pull/6213
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6520f8c9-af2f-a62a-a087-45e95902b8e8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D6D8:A7972:24782CE:31F6630:696AC586 |
| html-safe-nonce | 5ac3b5c3106aafe7a74dee64a3125abe66d167a979f8a1ba6bfc5528cd740f95 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkQ4OkE3OTcyOjI0NzgyQ0U6MzFGNjYzMDo2OTZBQzU4NiIsInZpc2l0b3JfaWQiOiIzMTM3NjMyNDU1MzA0NjU2NzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9cc2297cc40271a6fa3e46d7fa4ecb57d70fe88656869e1514c9a1910c8d03f1 |
| hovercard-subject-tag | pull_request:2942741510 |
| 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/6213/files |
| twitter:image | https://avatars.githubusercontent.com/u/76801443?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/76801443?s=400&v=4 |
| og:image:alt | Summary #6212 I've fixed get_separator_interval. And I've added extra tests. >>>>> f"{123456:,g}" '123,456' >>>>> f"{123456:,e}" ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 986b6a1d774985095564e64d6963d11f094da3d0e2bfda2ab1a27d63662eb033 |
| 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 | 89ad2112b9c4e11df6a0c13c8c1f8eedd36b0977 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width