Title: tokenize.py emits spurious NEWLINE if file ends on a comment without a newline · Issue #88833 · python/cpython · GitHub
Open Graph Title: tokenize.py emits spurious NEWLINE if file ends on a comment without a newline · Issue #88833 · python/cpython
X Title: tokenize.py emits spurious NEWLINE if file ends on a comment without a newline · Issue #88833 · python/cpython
Description: BPO 44667 Nosy @terryjreedy, @ambv, @MatthieuDartiailh, @pablogsal, @miss-islington PRs #27499#27500#27501 Files no_newline_at_end_of_file_with_comment.py Note: these values reflect the state of the issue at the time it was migrated and ...
Open Graph Description: BPO 44667 Nosy @terryjreedy, @ambv, @MatthieuDartiailh, @pablogsal, @miss-islington PRs #27499#27500#27501 Files no_newline_at_end_of_file_with_comment.py Note: these values reflect the state of th...
X Description: BPO 44667 Nosy @terryjreedy, @ambv, @MatthieuDartiailh, @pablogsal, @miss-islington PRs #27499#27500#27501 Files no_newline_at_end_of_file_with_comment.py Note: these values reflect the state of th...
Opengraph URL: https://github.com/python/cpython/issues/88833
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"tokenize.py emits spurious NEWLINE if file ends on a comment without a newline","articleBody":"BPO | [44667](https://bugs.python.org/issue44667)\n--- | :---\nNosy | @terryjreedy, @ambv, @MatthieuDartiailh, @pablogsal, @miss-islington\nPRs | \u003cli>python/cpython#27499\u003c/li>\u003cli>python/cpython#27500\u003c/li>\u003cli>python/cpython#27501\u003c/li>\nFiles | \u003cli>[no_newline_at_end_of_file_with_comment.py](https://bugs.python.org/file50157/no_newline_at_end_of_file_with_comment.py \"Uploaded as text/plain at 2021-07-18.13:50:12 by @MatthieuDartiailh\")\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 2021-07-31.01:17:51.161>\ncreated_at = \u003cDate 2021-07-18.13:50:13.546>\nlabels = ['type-bug', 'library', '3.9', '3.10', '3.11']\ntitle = 'tokenize.py emits spurious NEWLINE if file ends on a comment without a newline'\nupdated_at = \u003cDate 2022-01-19.20:53:27.027>\nuser = 'https://github.com/MatthieuDartiailh'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2022-01-19.20:53:27.027>\nactor = 'terry.reedy'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2021-07-31.01:17:51.161>\ncloser = 'pablogsal'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2021-07-18.13:50:13.546>\ncreator = 'mdartiailh'\ndependencies = []\nfiles = ['50157']\nhgrepos = []\nissue_num = 44667\nkeywords = ['patch']\nmessage_count = 5.0\nmessages = ['397750', '398615', '398738', '398739', '410980']\nnosy_count = 5.0\nnosy_names = ['terry.reedy', 'lukasz.langa', 'mdartiailh', 'pablogsal', 'miss-islington']\npr_nums = ['27499', '27500', '27501']\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue44667'\nversions = ['Python 3.9', 'Python 3.10', 'Python 3.11']\n```\n\n\u003c/p>\u003c/details>\n","author":{"url":null,"@type":"Person","name":"MatthieuDartiailh"},"datePublished":"2021-07-18T13:50:14Z","url":"https://github.com/python/cpython/issues/88833"}
| 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:7b01be46-a764-1297-6efc-bc7ae0c6c109 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9802:33DDEF:28C8572:3814AAB:6B00588C |
| html-safe-nonce | 2d3a117adbaf8094b53f0ff9ed628a27030279c4d7ec5404cd3a934509997433 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODAyOjMzRERFRjoyOEM4NTcyOjM4MTRBQUI6NkIwMDU4OEMiLCJ2aXNpdG9yX2lkIjoiODA1MjA3OTE2MzYyMTc5MTg4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1a4a0d8f75364e1193f9e41087e1fee571fb0390e4199a83b0f2e5c5008dfaff |
| hovercard-subject-tag | issue:1199061905 |
| 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/88833/issue_layout |
| twitter:image | https://opengraph.githubassets.com/eca38e15f40535a02de04ca00cb023ca7de7f4d7dfe5c9b9a7e98785394a1a6e/python/cpython/issues/88833 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/eca38e15f40535a02de04ca00cb023ca7de7f4d7dfe5c9b9a7e98785394a1a6e/python/cpython/issues/88833 |
| og:image:alt | BPO 44667 Nosy @terryjreedy, @ambv, @MatthieuDartiailh, @pablogsal, @miss-islington PRs #27499#27500#27501 Files no_newline_at_end_of_file_with_comment.py Note: these values reflect the state of th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MatthieuDartiailh |
| hostname | github.com |
| expected-hostname | github.com |
| None | 29be975efff6507a5d135de9c7d634cf7ff8f0c55222a64386ab3202209aaf73 |
| 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 | eacd927ba6112e3b01ba99c762bd699a4a4f5df7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width