Title: C-analyzer tool cannot parse `#line` directives · Issue #102737 · python/cpython · GitHub
Open Graph Title: C-analyzer tool cannot parse `#line` directives · Issue #102737 · python/cpython
X Title: C-analyzer tool cannot parse `#line` directives · Issue #102737 · python/cpython
Description: Bug report #line directives were added to generated_cases.c.h in 70185de, but the C-analyzer tool cannot handle these directives. This caused the CI check to start failing on all PRs, e.g.: #94468 #102734 The short term fix is to exclude...
Open Graph Description: Bug report #line directives were added to generated_cases.c.h in 70185de, but the C-analyzer tool cannot handle these directives. This caused the CI check to start failing on all PRs, e.g.: #94468 ...
X Description: Bug report #line directives were added to generated_cases.c.h in 70185de, but the C-analyzer tool cannot handle these directives. This caused the CI check to start failing on all PRs, e.g.: #94468 ...
Opengraph URL: https://github.com/python/cpython/issues/102737
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"C-analyzer tool cannot parse `#line` directives","articleBody":"# Bug report\r\n\r\n`#line` directives were added to `generated_cases.c.h` in https://github.com/python/cpython/commit/70185de1abfe428049a5c43d58fcb656b46db96c, but the C-analyzer tool cannot handle these directives. This caused the CI check to start failing on all PRs, e.g.:\r\n\r\n- https://github.com/python/cpython/pull/94468\r\n- https://github.com/python/cpython/pull/102734\r\n\r\nThe short term fix is to exclude `ceval.c` from the C-analyzer tool:\r\n\r\n- #102735\r\n\r\nBut ideally we'd remove `ceval.c` from the excluded files and teach the C-analyzer tool to handle `#line` directives.\r\n\r\n\u003c!-- gh-linked-prs --\u003e\r\n### Linked PRs\r\n* gh-102745\r\n\u003c!-- /gh-linked-prs --\u003e\r\n","author":{"url":"https://github.com/AlexWaygood","@type":"Person","name":"AlexWaygood"},"datePublished":"2023-03-15T17:25:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/102737/cpython/issues/102737"}
| 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:6d53292c-0215-b775-c61b-e9fe91e0308d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BDB6:68A4:442177:5FDEAB:696A2145 |
| html-safe-nonce | b6354931a524bc6c3d197671f0ab81e27df0138cc4108bb1ad1216df6224f227 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCREI2OjY4QTQ6NDQyMTc3OjVGREVBQjo2OTZBMjE0NSIsInZpc2l0b3JfaWQiOiI2NDI3NTc1NTQ1NTgyMTk5MTA5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 22277e49a72350bd13eefad3ec4966904b87d4f4ce9df821c1a58e8b672ab709 |
| hovercard-subject-tag | issue:1625956700 |
| 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/102737/issue_layout |
| twitter:image | https://opengraph.githubassets.com/821ce1ad04dd7554d6f049573e93284ef9108b6f34e2fbf6bfb0685e7b135e7a/python/cpython/issues/102737 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/821ce1ad04dd7554d6f049573e93284ef9108b6f34e2fbf6bfb0685e7b135e7a/python/cpython/issues/102737 |
| og:image:alt | Bug report #line directives were added to generated_cases.c.h in 70185de, but the C-analyzer tool cannot handle these directives. This caused the CI check to start failing on all PRs, e.g.: #94468 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AlexWaygood |
| hostname | github.com |
| expected-hostname | github.com |
| None | 014f3d193f36b7d393f88ca22d06fbacd370800b40a547c1ea67291e02dc8ea3 |
| 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 | d515f6f09fa57a93bf90355cb894eb84ca4f458f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width