Title: Argument Clinic reports incorrect line numbers on error · Issue #107570 · python/cpython · GitHub
Open Graph Title: Argument Clinic reports incorrect line numbers on error · Issue #107570 · python/cpython
X Title: Argument Clinic reports incorrect line numbers on error · Issue #107570 · python/cpython
Description: Most of the time, Argument Clinic just uses the line number of the stop line when it reports an error. This is not a huge problem, since an input block is normally pretty short, but it is slightly annoying when debugging, since you have ...
Open Graph Description: Most of the time, Argument Clinic just uses the line number of the stop line when it reports an error. This is not a huge problem, since an input block is normally pretty short, but it is slightly ...
X Description: Most of the time, Argument Clinic just uses the line number of the stop line when it reports an error. This is not a huge problem, since an input block is normally pretty short, but it is slightly ...
Opengraph URL: https://github.com/python/cpython/issues/107570
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Argument Clinic reports incorrect line numbers on error","articleBody":"Most of the time, Argument Clinic just uses the line number of the _stop line_ when it reports an error. This is not a huge problem, since an input block is normally pretty short, _but_ it is slightly annoying when debugging, since you have to locate the faulty line in the input block.\r\n\r\nIn gh-107551, I'm reworking the error handling of Argument Clinic, which revealed an opportunity to get this fixed, or at least improved. That PR only introduces a crude workaround, though; it is not a permanent solution.","author":{"url":"https://github.com/erlend-aasland","@type":"Person","name":"erlend-aasland"},"datePublished":"2023-08-02T20:34:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/107570/cpython/issues/107570"}
| 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:a098cc2a-34db-2048-124e-82bbc9424fcd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A394:3B507F:DF3589:134A18F:696A8F8B |
| html-safe-nonce | 81c8a2d93c8a5dc9918ac513dc0b2d0e9d2fcf37085bb0468160473fe0f4fd31 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzk0OjNCNTA3RjpERjM1ODk6MTM0QTE4Rjo2OTZBOEY4QiIsInZpc2l0b3JfaWQiOiI1NDM2MTczNTIzMTYxMzU0MTIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 53e370092048df4cceed8d3e58b3a7c458a2d4a16cf570b9af729c4fba54753c |
| hovercard-subject-tag | issue:1833869838 |
| 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/107570/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9c3e882b4d6c1f5bce3a611b085f68528800e7ac0b03d48d38ea2b5be11b9179/python/cpython/issues/107570 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9c3e882b4d6c1f5bce3a611b085f68528800e7ac0b03d48d38ea2b5be11b9179/python/cpython/issues/107570 |
| og:image:alt | Most of the time, Argument Clinic just uses the line number of the stop line when it reports an error. This is not a huge problem, since an input block is normally pretty short, but it is slightly ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | erlend-aasland |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4dd496afc954da9c207b2d9fbe86e3074619f565754aa1d9274aec30d9e5b8d7 |
| 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 | 31496a13b80a2f6ad77d6c617ee2255a3545b539 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width