Title: AST nodes for PEP 695 type param syntax do not require `end_lineno` nor `end_col_offset` · Issue #106145 · python/cpython · GitHub
Open Graph Title: AST nodes for PEP 695 type param syntax do not require `end_lineno` nor `end_col_offset` · Issue #106145 · python/cpython
X Title: AST nodes for PEP 695 type param syntax do not require `end_lineno` nor `end_col_offset` · Issue #106145 · python/cpython
Description: Bug report Unlike AST nodes for 3.10 match syntax, AST nodes for 3.12 type param syntax (PEP 695) do not require end_lineno nor end_col_offset. For 3.10 match syntax, this question was discussed here, and it was decided to require them. ...
Open Graph Description: Bug report Unlike AST nodes for 3.10 match syntax, AST nodes for 3.12 type param syntax (PEP 695) do not require end_lineno nor end_col_offset. For 3.10 match syntax, this question was discussed he...
X Description: Bug report Unlike AST nodes for 3.10 match syntax, AST nodes for 3.12 type param syntax (PEP 695) do not require end_lineno nor end_col_offset. For 3.10 match syntax, this question was discussed he...
Opengraph URL: https://github.com/python/cpython/issues/106145
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"AST nodes for PEP 695 type param syntax do not require `end_lineno` nor `end_col_offset`","articleBody":"# Bug report\r\nUnlike AST nodes for 3.10 match syntax, AST nodes for 3.12 type param syntax (PEP 695) do not require `end_lineno` nor `end_col_offset`.\r\n\r\nFor 3.10 match syntax, this question was discussed [here](https://github.com/python/cpython/issues/88058#issuecomment-1093911564), and it was decided to require them.\r\n\r\nContext: see end_lineno and end_col_offset creation in 3.8 by #11605. \r\n\r\nhttps://github.com/python/cpython/blob/bb578a0c304dffe43bb28b36b2b1c9153c78b659/Parser/Python.asdl#L148-L151\r\n\r\n# Your environment\r\nPython 3.12.0b3\r\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-106224\n* gh-106295\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/jacobtylerwalls","@type":"Person","name":"jacobtylerwalls"},"datePublished":"2023-06-27T14:54:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/106145/cpython/issues/106145"}
| 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:f9b5a8d7-6b08-f48d-ff68-ad5d20beeac5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8442:3F42A4:AED99:EC8B3:6A5547B6 |
| html-safe-nonce | bd834f9be817276832d233aaf4568ee935226b6e2e682e76656a58c3cddc7a0b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDQyOjNGNDJBNDpBRUQ5OTpFQzhCMzo2QTU1NDdCNiIsInZpc2l0b3JfaWQiOiI4MDUzOTE2NTc2Mzg5NjEzNDk0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 38abdca932a77fecbbc9e41317a16a2d0075e8e87286f47a5818d9fe077036f9 |
| hovercard-subject-tag | issue:1777168729 |
| 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/106145/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3c12cc76767922d21db8c1196f538f3003cea74300dda254e57689dac81cc9fb/python/cpython/issues/106145 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3c12cc76767922d21db8c1196f538f3003cea74300dda254e57689dac81cc9fb/python/cpython/issues/106145 |
| og:image:alt | Bug report Unlike AST nodes for 3.10 match syntax, AST nodes for 3.12 type param syntax (PEP 695) do not require end_lineno nor end_col_offset. For 3.10 match syntax, this question was discussed he... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jacobtylerwalls |
| hostname | github.com |
| expected-hostname | github.com |
| None | cd9eea424140838b22e9eabd53d92b5702617ddd6d76efcd3a37f08d44309ca5 |
| 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 | 3084b9f587e8f1e19803bbe0c77ac77ce3c99c5c |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width