Title: Infinite recursion in the tokenizer when emitting invalid escape sequence warnings · Issue #107967 · python/cpython · GitHub
Open Graph Title: Infinite recursion in the tokenizer when emitting invalid escape sequence warnings · Issue #107967 · python/cpython
X Title: Infinite recursion in the tokenizer when emitting invalid escape sequence warnings · Issue #107967 · python/cpython
Description: Checklist I am confident this is a bug in CPython, not a bug in a third-party project I have searched the CPython issue tracker, and am confident this bug has not been reported before CPython versions tested on: 3.12, CPython main branch...
Open Graph Description: Checklist I am confident this is a bug in CPython, not a bug in a third-party project I have searched the CPython issue tracker, and am confident this bug has not been reported before CPython versi...
X Description: Checklist I am confident this is a bug in CPython, not a bug in a third-party project I have searched the CPython issue tracker, and am confident this bug has not been reported before CPython versi...
Opengraph URL: https://github.com/python/cpython/issues/107967
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Infinite recursion in the tokenizer when emitting invalid escape sequence warnings","articleBody":"### Checklist\n\n- [X] I am confident this is a bug in CPython, not a bug in a third-party project\n- [X] I have searched the [CPython issue tracker](https://github.com/python/cpython/issues?q=is%3Aissue+sort%3Acreated-desc),\nand am confident this bug has not been reported before\n\n\n### CPython versions tested on:\n\n3.12, CPython main branch\n\n### Operating systems tested on:\n\nmacOS\n\n### Output from running 'python -VV' on the command line:\n\nPython 3.11.3 (main, May 8 2023, 13:16:43) [Clang 14.0.3 (clang-1403.0.22.14.1)]\n\n### A clear and concise description of the bug:\n\nThe tokenizer has an infinite recursion when emitting an invalid escape sequence `SyntaxWarning`. This was probably introduced in #106993. Fix will be up shortly.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-107968\n* gh-107970\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/lysnikolaou","@type":"Person","name":"lysnikolaou"},"datePublished":"2023-08-15T09:55:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/107967/cpython/issues/107967"}
| 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:591df8b4-078f-be31-2415-d88fa83324e8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DA46:2F21B4:A16D4D:D11231:696B21CC |
| html-safe-nonce | 2f553e9245cbd51898b2c86f4528f78a662c6184ff826eb9c7a36f86afdb5219 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTQ2OjJGMjFCNDpBMTZENEQ6RDExMjMxOjY5NkIyMUNDIiwidmlzaXRvcl9pZCI6IjIyNzg0MDUwMDMyNTM4NTA1NzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0e3ba02562497ea2e73907ded91795f20ec2d7cc0602e2caf4defec39b53e396 |
| hovercard-subject-tag | issue:1851186773 |
| 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/107967/issue_layout |
| twitter:image | https://opengraph.githubassets.com/322a206d4f152f1d09d21598ff20ed49c9664ae9962265f5101ccf90400b9a00/python/cpython/issues/107967 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/322a206d4f152f1d09d21598ff20ed49c9664ae9962265f5101ccf90400b9a00/python/cpython/issues/107967 |
| og:image:alt | Checklist I am confident this is a bug in CPython, not a bug in a third-party project I have searched the CPython issue tracker, and am confident this bug has not been reported before CPython versi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lysnikolaou |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width