Title: tok_report_warnings in tokenizer state is not needed · Issue #106989 · python/cpython · GitHub
Open Graph Title: tok_report_warnings in tokenizer state is not needed · Issue #106989 · python/cpython
X Title: tok_report_warnings in tokenizer state is not needed · Issue #106989 · python/cpython
Description: When we merged PEP 701, we added tok_report_warnings, which apparently got in by accident. The issue it was trying to solve was already resolved in #99891 and #99893. I think that it can safely removed both from the tokenizer struct and ...
Open Graph Description: When we merged PEP 701, we added tok_report_warnings, which apparently got in by accident. The issue it was trying to solve was already resolved in #99891 and #99893. I think that it can safely rem...
X Description: When we merged PEP 701, we added tok_report_warnings, which apparently got in by accident. The issue it was trying to solve was already resolved in #99891 and #99893. I think that it can safely rem...
Opengraph URL: https://github.com/python/cpython/issues/106989
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"tok_report_warnings in tokenizer state is not needed","articleBody":"When we merged PEP 701, we added `tok_report_warnings`, which apparently got in by accident. The issue it was trying to solve was already resolved in #99891 and #99893. I think that it can safely removed both from the tokenizer struct and all occurences should be changed to use `report_warnings` instead.\r\n\r\n\u003c!-- gh-linked-prs --\u003e\r\n### Linked PRs\r\n* gh-106993\r\n* gh-107013\n\u003c!-- /gh-linked-prs --\u003e\r\n","author":{"url":"https://github.com/lysnikolaou","@type":"Person","name":"lysnikolaou"},"datePublished":"2023-07-22T08:57:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/106989/cpython/issues/106989"}
| 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:55b15e02-eeba-e3dd-e10d-309cc1cf2bfb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E788:393FCF:23590E:2E9C8D:6969BDAF |
| html-safe-nonce | d3093a7548ab8f1873229f33f4fdab5c5c9f0490c6d2ec928b3cf56b6b1aeb85 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzg4OjM5M0ZDRjoyMzU5MEU6MkU5QzhEOjY5NjlCREFGIiwidmlzaXRvcl9pZCI6IjQwNTM4ODg2MzE2NjU0NDIyMjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 816e41b69b734052e00268ed3122d9e4371091f79084c53ae7ab79e6f20c0144 |
| hovercard-subject-tag | issue:1816689850 |
| 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/106989/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0eed4d3a1d08d811d87bd50fbe232ffb3e4af9d8050c45d2f3e5be29baec0268/python/cpython/issues/106989 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0eed4d3a1d08d811d87bd50fbe232ffb3e4af9d8050c45d2f3e5be29baec0268/python/cpython/issues/106989 |
| og:image:alt | When we merged PEP 701, we added tok_report_warnings, which apparently got in by accident. The issue it was trying to solve was already resolved in #99891 and #99893. I think that it can safely rem... |
| 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 | acedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056 |
| 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 | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width