Title: Formalize incomplete error exceptions to improve codeop module handling · Issue #113744 · python/cpython · GitHub
Open Graph Title: Formalize incomplete error exceptions to improve codeop module handling · Issue #113744 · python/cpython
X Title: Formalize incomplete error exceptions to improve codeop module handling · Issue #113744 · python/cpython
Description: Currently the way we detect incomplete errors in the codeop module is based on the exception text, which is suboptimal at least. To do this properly, add a new SyntaxError subclass called IncompleteInputError and use that in the codeop m...
Open Graph Description: Currently the way we detect incomplete errors in the codeop module is based on the exception text, which is suboptimal at least. To do this properly, add a new SyntaxError subclass called Incomplet...
X Description: Currently the way we detect incomplete errors in the codeop module is based on the exception text, which is suboptimal at least. To do this properly, add a new SyntaxError subclass called Incomplet...
Opengraph URL: https://github.com/python/cpython/issues/113744
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Formalize incomplete error exceptions to improve codeop module handling","articleBody":"Currently the way we detect incomplete errors in the `codeop` module is based on the exception text, which is suboptimal at least. To do this properly, add a new `SyntaxError` subclass called `IncompleteInputError` and use that in the codeop module to detect errors from the parser.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-113745\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/pablogsal","@type":"Person","name":"pablogsal"},"datePublished":"2024-01-05T17:41:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/113744/cpython/issues/113744"}
| 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:a7b31711-14f6-80ad-66c3-2e77f32bf5fa |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C812:EF6F3:2366CE2:2E142AC:696B5648 |
| html-safe-nonce | 9f2aa274864b01d109d84e1dd127c05925abb16babb9f5dfd7668b675db40f62 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODEyOkVGNkYzOjIzNjZDRTI6MkUxNDJBQzo2OTZCNTY0OCIsInZpc2l0b3JfaWQiOiIyMDg0ODg2NzQ3Njk3MzM3OTI4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9db6d3d8759713fbe768ffb5f79b463004b6bee30061126e52cd16a537c05896 |
| hovercard-subject-tag | issue:2067774324 |
| 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/113744/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9a11caf010f2f2e744f9481e1cf5a50a575728dc24d6f002c399a2aa17ab36e8/python/cpython/issues/113744 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9a11caf010f2f2e744f9481e1cf5a50a575728dc24d6f002c399a2aa17ab36e8/python/cpython/issues/113744 |
| og:image:alt | Currently the way we detect incomplete errors in the codeop module is based on the exception text, which is suboptimal at least. To do this properly, add a new SyntaxError subclass called Incomplet... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pablogsal |
| 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