Title: Additional format cases that fails to support bool value · Issue #4950 · RustPython/RustPython · GitHub
Open Graph Title: Additional format cases that fails to support bool value · Issue #4950 · RustPython/RustPython
X Title: Additional format cases that fails to support bool value · Issue #4950 · RustPython/RustPython
Description: I list some additional format cases that RustPython does not support. '{:f}'.format(False) '{:x}'.format(False) '{:X}'.format(False) '{:e}'.format(False) '{:E}'.format(False) '{:c}'.format(False) '{:g}'.format(False) '{:o}'.format(False)...
Open Graph Description: I list some additional format cases that RustPython does not support. '{:f}'.format(False) '{:x}'.format(False) '{:X}'.format(False) '{:e}'.format(False) '{:E}'.format(False) '{:c}'.format(False) '...
X Description: I list some additional format cases that RustPython does not support. '{:f}'.format(False) '{:x}'.format(False) '{:X}'.format(False) '{:e}'.format(False) '{:E}...
Opengraph URL: https://github.com/RustPython/RustPython/issues/4950
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Additional format cases that fails to support bool value ","articleBody":"I list some additional format cases that RustPython does not support.\r\n\r\n```\r\n'{:f}'.format(False)\r\n'{:x}'.format(False)\r\n'{:X}'.format(False)\r\n'{:e}'.format(False)\r\n'{:E}'.format(False)\r\n'{:c}'.format(False)\r\n'{:g}'.format(False)\r\n'{:o}'.format(False)\r\n'{:%}'.format(False)\r\n'{:o}'.format(False)\r\n```\r\n\r\nRustPython reports VauleError:\r\n```\r\nTraceback (most recent call last):\r\n File \"/home/xxm/Desktop/RustPython/test.py\", line 104, in \u003cmodule>\r\n '{:o}'.format(False)\r\nValueError: Invalid format specifier\r\n```\r\n\r\nEnvironment:\r\nUbuntu 18.04\r\nRustPython 0.2.0 [fa79055](https://github.com/RustPython/RustPython/commit/fa790558211ec690541299258f44d7453501958a)\r\nCPython 3.8.0, 3.9.0, 3.11.3\r\n","author":{"url":"https://github.com/xiaxinmeng","@type":"Person","name":"xiaxinmeng"},"datePublished":"2023-04-30T15:48:20Z","url":"https://github.com/RustPython/RustPython/issues/4950"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a28c7b33-2cac-8c48-13f0-63757f7b2912 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BDDA:120A77:21C7F1C:2DFD4C7:6B00271B |
| html-safe-nonce | 8cc9d5673dd298e672e5d51ed3c8882e60ece430f5654c157560de980aece93c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRERBOjEyMEE3NzoyMUM3RjFDOjJERkQ0Qzc6NkIwMDI3MUIiLCJ2aXNpdG9yX2lkIjoiMzM1NjUwMzUzOTAyNjI0MTMwNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 43485d31e87514e41d3a81fb463f3b814be857706d1f10b2a08923011f106567 |
| hovercard-subject-tag | issue:1689969018 |
| github-keyboard-shortcuts | repository,issues,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/issues/show/RustPython/RustPython/4950/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6ff48374d95c5b721a9ebcafded7d0de1cd4e0f57284286a2968fb65cd3e56bf/RustPython/RustPython/issues/4950 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6ff48374d95c5b721a9ebcafded7d0de1cd4e0f57284286a2968fb65cd3e56bf/RustPython/RustPython/issues/4950 |
| og:image:alt | I list some additional format cases that RustPython does not support. '{:f}'.format(False) '{:x}'.format(False) '{:X}'.format(False) '{:e}'.format(False) '{:E}'.format(False) '{:c}'.format(False) '... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | xiaxinmeng |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0 |
| turbo-cache-control | no-preview |
| 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 | 44c658b24abf00491fb7ae5f56d42c9f38cbeab2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width