Title: f-string with bool expression and if-expression inside · Issue #1099 · RustPython/RustPython · GitHub
Open Graph Title: f-string with bool expression and if-expression inside · Issue #1099 · RustPython/RustPython
X Title: f-string with bool expression and if-expression inside · Issue #1099 · RustPython/RustPython
Description: All these fail to parse f'{True or True}' f'{1 == 1}' f'{"0" if True else "1"}'
Open Graph Description: All these fail to parse f'{True or True}' f'{1 == 1}' f'{"0" if True else "1"}'
X Description: All these fail to parse f'{True or True}' f'{1 == 1}' f'{"0" if True else "1"}'
Opengraph URL: https://github.com/RustPython/RustPython/issues/1099
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"f-string with bool expression and if-expression inside","articleBody":"All these fail to parse\r\n```\r\nf'{True or True}'\r\nf'{1 == 1}'\r\nf'{\"0\" if True else \"1\"}'\r\n```","author":{"url":"https://github.com/mkurnikov","@type":"Person","name":"mkurnikov"},"datePublished":"2019-07-03T14:07:13.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/1099/RustPython/issues/1099"}
| 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:db738708-e743-89c1-1d85-863f76f5b7c9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9B68:12A0A1:8BE80F:C99CCE:6A58C6C4 |
| html-safe-nonce | 88b636c867b1cb0f4b16fb0bea08873673baba4a0a4659872a000090b62d4771 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjY4OjEyQTBBMTo4QkU4MEY6Qzk5Q0NFOjZBNThDNkM0IiwidmlzaXRvcl9pZCI6IjM3NDQ4OTE1NzMyNTcxNjAzODkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 51fd78c45b8d0cb2b038de631e1653f6a09b96cd163a52d1cb9a2a0d1a0ce36d |
| hovercard-subject-tag | issue:463774131 |
| 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/1099/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5baa2b1e54c093d334ade1108012e352017172668be6fb452b9f4e97def6c8dd/RustPython/RustPython/issues/1099 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5baa2b1e54c093d334ade1108012e352017172668be6fb452b9f4e97def6c8dd/RustPython/RustPython/issues/1099 |
| og:image:alt | All these fail to parse f'{True or True}' f'{1 == 1}' f'{"0" if True else "1"}' |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mkurnikov |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| 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 | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width