Title: (🐞) Column marker in error message off for certain string errors · Issue #102312 · python/cpython · GitHub
Open Graph Title: (🐞) Column marker in error message off for certain string errors · Issue #102312 · python/cpython
X Title: (🐞) Column marker in error message off for certain string errors · Issue #102312 · python/cpython
Description: "\N{a}" 👉 python test.py File "/test.py", line 1 "\N{a}" ^ SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 0-4: unknown Unicode character name Here the caret is pointing to blackspace after the code Expe...
Open Graph Description: "\N{a}" 👉 python test.py File "/test.py", line 1 "\N{a}" ^ SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 0-4: unknown Unicode character name Here the caret is po...
X Description: "\N{a}" 👉 python test.py File "/test.py", line 1 "\N{a}" ^ SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 0-4: unknown U...
Opengraph URL: https://github.com/python/cpython/issues/102312
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"(🐞) Column marker in error message off for certain string errors","articleBody":"```py\r\n\"\\N{a}\"\r\n```\r\n```\r\n👉 python test.py\r\n File \"/test.py\", line 1\r\n \"\\N{a}\"\r\n ^\r\nSyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 0-4: unknown Unicode character name\r\n```\r\nHere the caret is pointing to blackspace after the code\r\n\r\n## Expected\r\n```\r\n👉 python test.py\r\n File \"/test.py\", line 1\r\n \"\\N{a}\"\r\n ^\r\nSyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 0-4: unknown Unicode character name\r\n```","author":{"url":"https://github.com/KotlinIsland","@type":"Person","name":"KotlinIsland"},"datePublished":"2023-02-28T03:18:31Z","url":"https://github.com/python/cpython/issues/102312"}
| 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:8f0d586b-2749-8928-bea1-ef68576ec8ec |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8E38:16E4ED:3A5778:4992E4:6B01FAFB |
| html-safe-nonce | 0a2059f8f5646551dc144f9d4f231a67cf83c8ca0cdc089b84a124601cad29c3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTM4OjE2RTRFRDozQTU3Nzg6NDk5MkU0OjZCMDFGQUZCIiwidmlzaXRvcl9pZCI6IjU0NTcxMjM1NzA0OTkwNTg0MjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f68fae5177a2d268fba51d93f2614fc195556290a0fa90a052d487d216359b8d |
| hovercard-subject-tag | issue:1602300968 |
| 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/102312/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3427a1a20be5f308823e4f10f199f0b227a5da07d16660c00924b3efec21a164/python/cpython/issues/102312 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3427a1a20be5f308823e4f10f199f0b227a5da07d16660c00924b3efec21a164/python/cpython/issues/102312 |
| og:image:alt | "\N{a}" 👉 python test.py File "/test.py", line 1 "\N{a}" ^ SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 0-4: unknown Unicode character name Here the caret is po... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | KotlinIsland |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width