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/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:745907de-8079-639e-288e-7a1ce0879c48 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 8704:2D4000:1AC819A:255257A:696A5241 |
| html-safe-nonce | e8179c5c828bbf678112318ffd6963faefa51829cd892f100406ecef4a2bdd90 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzA0OjJENDAwMDoxQUM4MTlBOjI1NTI1N0E6Njk2QTUyNDEiLCJ2aXNpdG9yX2lkIjoiMTM4NTI4MTEwMTEwNDgyODk5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4e2f63c46eb72541ffbc49cc943ee0426bd4a4431870c80b7fed9502d60a6915 |
| hovercard-subject-tag | pull_request:2942741510 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/checks |
| 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 | 3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef |
| 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 full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 63c426b30d262aba269ef14c40e3c817b384cd61 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width