Title: Python3 erroneously calls r'\' a syntax error · Issue #103704 · python/cpython · GitHub
Open Graph Title: Python3 erroneously calls r'\' a syntax error · Issue #103704 · python/cpython
X Title: Python3 erroneously calls r'\' a syntax error · Issue #103704 · python/cpython
Description: The Python 3.11.3 interpreter, upon seeing the expression r'\' emits the message SyntaxError: unterminated string literal
Open Graph Description: The Python 3.11.3 interpreter, upon seeing the expression r'\' emits the message SyntaxError: unterminated string literal
X Description: The Python 3.11.3 interpreter, upon seeing the expression r'\' emits the message SyntaxError: unterminated string literal
Opengraph URL: https://github.com/python/cpython/issues/103704
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Python3 erroneously calls r'\\' a syntax error","articleBody":"The Python 3.11.3 interpreter, upon seeing the expression\r\nr'\\\\'\r\nemits the message\r\nSyntaxError: unterminated string literal","author":{"url":"https://github.com/greg1lutz","@type":"Person","name":"greg1lutz"},"datePublished":"2023-04-23T04:14:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/103704/cpython/issues/103704"}
| 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:1e2f7d83-410a-79b7-fb6d-683bac39655d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CC34:166AAB:84F0D5:B2FFF8:6A5308A6 |
| html-safe-nonce | 649df23f043099643481fd49f58530abff6b63e0a7d586cd52b7429cf5202021 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzM0OjE2NkFBQjo4NEYwRDU6QjJGRkY4OjZBNTMwOEE2IiwidmlzaXRvcl9pZCI6IjE4MTE2OTMyOTY4NzcyNDI1MzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f8a73e38fd55821a61d09e5e32cab94042140528bc258e88c9dd1006a32bfaf4 |
| hovercard-subject-tag | issue:1679849582 |
| 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/103704/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1773349bce9cb73a4f4371c88c10a32a5e4ad58ae66e25fac9c489e7135eee82/python/cpython/issues/103704 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1773349bce9cb73a4f4371c88c10a32a5e4ad58ae66e25fac9c489e7135eee82/python/cpython/issues/103704 |
| og:image:alt | The Python 3.11.3 interpreter, upon seeing the expression r'\' emits the message SyntaxError: unterminated string literal |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | greg1lutz |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width