Title: Compiler should not need to know how to construct AST nodes · Issue #123881 · python/cpython · GitHub
Open Graph Title: Compiler should not need to know how to construct AST nodes · Issue #123881 · python/cpython
X Title: Compiler should not need to know how to construct AST nodes · Issue #123881 · python/cpython
Description: There is one place in the compiler where it copies a bit of AST and modifies it to add a base class to generic classes. It would be nice if the compiler didn't need to know how to do this. Linked PRs gh-123883 gh-123886 gh-123890 gh-123891
Open Graph Description: There is one place in the compiler where it copies a bit of AST and modifies it to add a base class to generic classes. It would be nice if the compiler didn't need to know how to do this. Linked P...
X Description: There is one place in the compiler where it copies a bit of AST and modifies it to add a base class to generic classes. It would be nice if the compiler didn't need to know how to do this. Link...
Opengraph URL: https://github.com/python/cpython/issues/123881
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Compiler should not need to know how to construct AST nodes","articleBody":"There is one place in the compiler where it copies a bit of AST and modifies it to add a base class to generic classes.\r\nIt would be nice if the compiler didn't need to know how to do this.\r\n\r\n\u003c!-- gh-linked-prs --\u003e\r\n### Linked PRs\r\n* gh-123883\r\n* gh-123886\n* gh-123890\n* gh-123891\n\u003c!-- /gh-linked-prs --\u003e\r\n","author":{"url":"https://github.com/iritkatriel","@type":"Person","name":"iritkatriel"},"datePublished":"2024-09-09T21:03:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/123881/cpython/issues/123881"}
| 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:380dc658-a3f7-0062-b72e-0a6c6c46f4d2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C148:F5661:757B0:A12EB:696A6C84 |
| html-safe-nonce | 546440cf930af5a4907a5171737fe6dde6d025dd86f2452c725520fd9f4844a2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTQ4OkY1NjYxOjc1N0IwOkExMkVCOjY5NkE2Qzg0IiwidmlzaXRvcl9pZCI6IjYzNTgwMzIxMTgwMjUxODY0MzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 34ef0573dd173674357237259803f6924995511bbdf3216bf5209078f4dec0ca |
| hovercard-subject-tag | issue:2514917032 |
| 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/123881/issue_layout |
| twitter:image | https://opengraph.githubassets.com/35983ba2ad377a5e2bd1923f137f5572608388b6116433d17876aa3966639516/python/cpython/issues/123881 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/35983ba2ad377a5e2bd1923f137f5572608388b6116433d17876aa3966639516/python/cpython/issues/123881 |
| og:image:alt | There is one place in the compiler where it copies a bit of AST and modifies it to add a base class to generic classes. It would be nice if the compiler didn't need to know how to do this. Linked P... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iritkatriel |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6fea32d5b7276b841b7a803796d9715bc6cfb31ed549fdf9de2948ac25d12ba6 |
| 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 | f2d9f6432a5a115ec709295ae70623f33bb80aee |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width