Title: Error in description of f-string "=" functionality · Issue #125496 · python/cpython · GitHub
Open Graph Title: Error in description of f-string "=" functionality · Issue #125496 · python/cpython
X Title: Error in description of f-string "=" functionality · Issue #125496 · python/cpython
Description: https://docs.python.org/3/reference/lexical_analysis.html#f-strings The description of the "=" functionality says: By default, the '=' causes the repr() of the expression to be provided, unless there is a format specified. When a format ...
Open Graph Description: https://docs.python.org/3/reference/lexical_analysis.html#f-strings The description of the "=" functionality says: By default, the '=' causes the repr() of the expression to be provided, unless the...
X Description: https://docs.python.org/3/reference/lexical_analysis.html#f-strings The description of the "=" functionality says: By default, the '=' causes the repr() of the expression to be pr...
Opengraph URL: https://github.com/python/cpython/issues/125496
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error in description of f-string \"=\" functionality","articleBody":"https://docs.python.org/3/reference/lexical_analysis.html#f-strings\r\n\r\nThe description of the \"=\" functionality says:\r\n\r\nBy default, the '=' causes the repr() of the expression to be provided, unless there is a format specified. When a format is specified it defaults to the str() of the expression unless a conversion '!r' is declared.\r\n\r\nBut that's not correct. If a format is specified, it uses `value.__format__(format_spec)`.\r\n\r\nI'll produce a patch.","author":{"url":"https://github.com/ericvsmith","@type":"Person","name":"ericvsmith"},"datePublished":"2024-10-15T02:13:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/125496/cpython/issues/125496"}
| 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:2c8da826-97f5-286d-d040-1b1aecf6531e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9280:1B1D69:B782DF:FE25DE:696A7E03 |
| html-safe-nonce | df71eb52addd0d614273c97d52f9d74f6781ddd00cfa50c19be142a128f92f24 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjgwOjFCMUQ2OTpCNzgyREY6RkUyNURFOjY5NkE3RTAzIiwidmlzaXRvcl9pZCI6IjUwMjQwMDg1MzYwODAzMzMxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 605a7518d60938d4d39f42a40295b9fc2b67844521abfff24fd5d670ce21431e |
| hovercard-subject-tag | issue:2587435801 |
| 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/python/cpython/125496/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7b26f18782cf234f6d7ab4f53cff9be0f3064fed4e6f7b0994e5b3e75c37a7f2/python/cpython/issues/125496 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7b26f18782cf234f6d7ab4f53cff9be0f3064fed4e6f7b0994e5b3e75c37a7f2/python/cpython/issues/125496 |
| og:image:alt | https://docs.python.org/3/reference/lexical_analysis.html#f-strings The description of the "=" functionality says: By default, the '=' causes the repr() of the expression to be provided, unless the... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ericvsmith |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5b774e44f85c14a75886edd04ddda4e5a25ddebbb241bcbb590b08a3048730e8 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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 | cc5f4eee261b3601c1e98e217ceaf28508b9567e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width