Title: bpo-40334: Disallow invalid single statements in the new parser by lysnikolaou · Pull Request #19774 · python/cpython · GitHub
Open Graph Title: bpo-40334: Disallow invalid single statements in the new parser by lysnikolaou · Pull Request #19774 · python/cpython
X Title: bpo-40334: Disallow invalid single statements in the new parser by lysnikolaou · Pull Request #19774 · python/cpython
Description: After parsing is done, a single statement has to be checked for additional lines and a SyntaxError must be raised, in case there are any. Closes we-like-parsers#99. https://bugs.python.org/issue40334
Open Graph Description: After parsing is done, a single statement has to be checked for additional lines and a SyntaxError must be raised, in case there are any. Closes we-like-parsers#99. https://bugs.python.org/issue4...
X Description: After parsing is done, a single statement has to be checked for additional lines and a SyntaxError must be raised, in case there are any. Closes we-like-parsers#99. https://bugs.python.org/issue4...
Opengraph URL: https://github.com/python/cpython/pull/19774
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:aec4ce98-0660-6009-5f1a-300fdf739db1 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D458:106A75:A94464:EE84DC:696A1C1B |
| html-safe-nonce | 09f339f3e3e7650c3a15bb43feabe16d75e71d4e5808c67c454a7778b6c902e0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDU4OjEwNkE3NTpBOTQ0NjQ6RUU4NERDOjY5NkExQzFCIiwidmlzaXRvcl9pZCI6IjM1NzcyMTEzMTk5ODM4NzIyNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ea9147557ad75e5d2d4418073b093e0cbbc9e055014e9fcc1d1afd2a389dd292 |
| hovercard-subject-tag | pull_request:410405372 |
| 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/19774/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 | After parsing is done, a single statement has to be checked for additional lines and a SyntaxError must be raised, in case there are any. Closes we-like-parsers#99. https://bugs.python.org/issue4... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 34a52bd10bd674f68e5c1b6b74413b79bf2ca20c551055ace3f7cdd112803923 |
| 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 | e8bd37502700f365b18a4d39acf7cb7947e11b1a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width