Title: [3.9] bpo-40334: Produce better error messages on invalid targets (GH-20106) by lysnikolaou · Pull Request #20973 · python/cpython · GitHub
Open Graph Title: [3.9] bpo-40334: Produce better error messages on invalid targets (GH-20106) by lysnikolaou · Pull Request #20973 · python/cpython
X Title: [3.9] bpo-40334: Produce better error messages on invalid targets (GH-20106) by lysnikolaou · Pull Request #20973 · python/cpython
Description: The following error messages get produced: cannot delete ... for invalid del targets ... is an illegal 'for' target for invalid targets in for statements ... is an illegal 'with' target for invalid targets in with statements Additionally, a few cuts were added in various places before the invocation of the invalid_* rule, in order to speed things up. Co-authored-by: Pablo Galindo Pablogsal@gmail.com (cherry picked from commit 01ece63) https://bugs.python.org/issue40334
Open Graph Description: The following error messages get produced: cannot delete ... for invalid del targets ... is an illegal 'for' target for invalid targets in for statements ... is an illegal 'with' t...
X Description: The following error messages get produced: cannot delete ... for invalid del targets ... is an illegal 'for' target for invalid targets in for statements ... is an illegal '...
Opengraph URL: https://github.com/python/cpython/pull/20973
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:ba763e02-0c9e-d29f-7c6d-927c595568d4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 955C:1B38B1:11ED90B:174D04A:696B0FAD |
| html-safe-nonce | 3f6691c468742df095b9217b71118f477925c2991ea6322a4517cf116ad1de3c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTVDOjFCMzhCMToxMUVEOTBCOjE3NEQwNEE6Njk2QjBGQUQiLCJ2aXNpdG9yX2lkIjoiNDA3Mjg4OTM1NjUyOTYzNTI0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 05bb531e95f0ca7d555be0b84fcccc8be3376b5adbdf8a79feb755d6e43f3164 |
| hovercard-subject-tag | pull_request:436811260 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/python/cpython/pull/20973/files |
| twitter:image | https://avatars.githubusercontent.com/u/20306270?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/20306270?s=400&v=4 |
| og:image:alt | The following error messages get produced: cannot delete ... for invalid del targets ... is an illegal 'for' target for invalid targets in for statements ... is an illegal 'with' t... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| 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