Title: untokenize() fails on tokenize output when a newline is missing · Issue #79288 · python/cpython · GitHub
Open Graph Title: untokenize() fails on tokenize output when a newline is missing · Issue #79288 · python/cpython
X Title: untokenize() fails on tokenize output when a newline is missing · Issue #79288 · python/cpython
Description: BPO 35107 Nosy @terryjreedy, @gpshead, @taleinat, @meadori, @serhiy-storchaka, @ammaraskar, @pablogsal, @iritkatriel Superseder bpo-44667: tokenize.py emits spurious NEWLINE if file ends on a comment without a newline Note: these values ...
Open Graph Description: BPO 35107 Nosy @terryjreedy, @gpshead, @taleinat, @meadori, @serhiy-storchaka, @ammaraskar, @pablogsal, @iritkatriel Superseder bpo-44667: tokenize.py emits spurious NEWLINE if file ends on a comme...
X Description: BPO 35107 Nosy @terryjreedy, @gpshead, @taleinat, @meadori, @serhiy-storchaka, @ammaraskar, @pablogsal, @iritkatriel Superseder bpo-44667: tokenize.py emits spurious NEWLINE if file ends on a comme...
Opengraph URL: https://github.com/python/cpython/issues/79288
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"untokenize() fails on tokenize output when a newline is missing","articleBody":"BPO | [35107](https://bugs.python.org/issue35107)\n--- | :---\nNosy | @terryjreedy, @gpshead, @taleinat, @meadori, @serhiy-storchaka, @ammaraskar, @pablogsal, @iritkatriel\nSuperseder | \u003cli>bpo-44667: tokenize.py emits spurious NEWLINE if file ends on a comment without a newline\u003c/li>\n\n\u003csup>*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup>\n\n\u003cdetails>\u003csummary>Show more details\u003c/summary>\u003cp>\n\nGitHub fields:\n```python\nassignee = None\nclosed_at = \u003cDate 2022-01-19.20:50:24.347>\ncreated_at = \u003cDate 2018-10-29.22:26:38.314>\nlabels = ['3.7', '3.8']\ntitle = 'untokenize() fails on tokenize output when a newline is missing'\nupdated_at = \u003cDate 2022-01-19.20:52:55.362>\nuser = 'https://github.com/gpshead'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2022-01-19.20:52:55.362>\nactor = 'terry.reedy'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2022-01-19.20:50:24.347>\ncloser = 'terry.reedy'\ncomponents = []\ncreation = \u003cDate 2018-10-29.22:26:38.314>\ncreator = 'gregory.p.smith'\ndependencies = []\nfiles = []\nhgrepos = []\nissue_num = 35107\nkeywords = []\nmessage_count = 9.0\nmessages = ['328876', '328878', '328879', '328880', '328882', '328884', '328927', '410915', '410982']\nnosy_count = 8.0\nnosy_names = ['terry.reedy', 'gregory.p.smith', 'taleinat', 'meador.inge', 'serhiy.storchaka', 'ammar2', 'pablogsal', 'iritkatriel']\npr_nums = []\npriority = 'normal'\nresolution = 'duplicate'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = '44667'\ntype = None\nurl = 'https://bugs.python.org/issue35107'\nversions = ['Python 3.6', 'Python 3.7', 'Python 3.8']\n```\n\n\u003c/p>\u003c/details>\n","author":{"url":"https://github.com/gpshead","@type":"Person","name":"gpshead"},"datePublished":"2018-10-29T22:26:38Z","url":"https://github.com/python/cpython/issues/79288"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:8048fda7-902d-5b29-2046-99d6eea082ee |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CB8A:283776:DCD5D6:1273A2C:6B005443 |
| html-safe-nonce | 4807315ca527742418d1c1f881df70ef1cf7f460f0b8fffdd9071b79d3ce73ee |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjhBOjI4Mzc3NjpEQ0Q1RDY6MTI3M0EyQzo2QjAwNTQ0MyIsInZpc2l0b3JfaWQiOiIxNDgxNzY0MjY4NjcwOTk3NTcxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 79378fd281cdbaee5210752e751634158933ffb76f4532c97f55a800fd3f0ae1 |
| hovercard-subject-tag | issue:1199000058 |
| 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/79288/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6a70e276257d535e673ebd8fbca2c452399bce1e04bbfd2ef4d1e379ae18b368/python/cpython/issues/79288 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6a70e276257d535e673ebd8fbca2c452399bce1e04bbfd2ef4d1e379ae18b368/python/cpython/issues/79288 |
| og:image:alt | BPO 35107 Nosy @terryjreedy, @gpshead, @taleinat, @meadori, @serhiy-storchaka, @ammaraskar, @pablogsal, @iritkatriel Superseder bpo-44667: tokenize.py emits spurious NEWLINE if file ends on a comme... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gpshead |
| hostname | github.com |
| expected-hostname | github.com |
| None | f420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb |
| 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 | 26e00df917aba0f128135dc073ea0c5e33a70d40 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width