Title: Token lines in the tokenize module always end in new line · Issue #104825 · python/cpython · GitHub
Open Graph Title: Token lines in the tokenize module always end in new line · Issue #104825 · python/cpython
X Title: Token lines in the tokenize module always end in new line · Issue #104825 · python/cpython
Description: As a consequence of the changes in the Python tokenizer post PEP701, now the line attribute always ends in a new line character. We should remove this as it adds no information and wasn't there before. Linked PRs gh-104846 gh-104850 gh-1...
Open Graph Description: As a consequence of the changes in the Python tokenizer post PEP701, now the line attribute always ends in a new line character. We should remove this as it adds no information and wasn't there bef...
X Description: As a consequence of the changes in the Python tokenizer post PEP701, now the line attribute always ends in a new line character. We should remove this as it adds no information and wasn't there...
Opengraph URL: https://github.com/python/cpython/issues/104825
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Token lines in the tokenize module always end in new line","articleBody":"As a consequence of the changes in the Python tokenizer post PEP701, now the `line` attribute always ends in a new line character. We should remove this as it adds no information and wasn't there before.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-104846\n* gh-104850\n* gh-104880\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/pablogsal","@type":"Person","name":"pablogsal"},"datePublished":"2023-05-23T23:36:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/104825/cpython/issues/104825"}
| 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:c883a263-c607-e37d-728e-69c6f1d07c03 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 833E:37C592:F6274F:147EFF0:696992AD |
| html-safe-nonce | 4be7775625870042202ffe99a5c5479504a1fc7644a80b838483398c76405462 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzNFOjM3QzU5MjpGNjI3NEY6MTQ3RUZGMDo2OTY5OTJBRCIsInZpc2l0b3JfaWQiOiIzMjYxMzI5NDAzMjE0MjgxNDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0d159014a6e69df321c31a088ab5d32c3a9a2dcc592dade0bffcea953623c9bc |
| hovercard-subject-tag | issue:1722939765 |
| 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/104825/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b9c99e70971ba5dd939c0fa4534e261f04510c24276bfd2856c851ad2e432d43/python/cpython/issues/104825 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b9c99e70971ba5dd939c0fa4534e261f04510c24276bfd2856c851ad2e432d43/python/cpython/issues/104825 |
| og:image:alt | As a consequence of the changes in the Python tokenizer post PEP701, now the line attribute always ends in a new line character. We should remove this as it adds no information and wasn't there bef... |
| 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 | 3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751 |
| 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 | af80af7cc9e3de9c336f18b208a600950a3c187c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width