Title: Trailing whitespace makes tokenize.generate_tokens pathological · Issue #60356 · python/cpython · GitHub
Open Graph Title: Trailing whitespace makes tokenize.generate_tokens pathological · Issue #60356 · python/cpython
X Title: Trailing whitespace makes tokenize.generate_tokens pathological · Issue #60356 · python/cpython
Description: BPO 16152 Nosy @jcea, @vstinner, @nedbat, @ezio-melotti PRs #6572 Files bug16152_v33.patch: Patch for 3.3bug16152_v27.patch: Patch for 2.7 Note: these values reflect the state of the issue at the time it was migrated and might not reflec...
Open Graph Description: BPO 16152 Nosy @jcea, @vstinner, @nedbat, @ezio-melotti PRs #6572 Files bug16152_v33.patch: Patch for 3.3bug16152_v27.patch: Patch for 2.7 Note: these values reflect the state of the issue at the t...
X Description: BPO 16152 Nosy @jcea, @vstinner, @nedbat, @ezio-melotti PRs #6572 Files bug16152_v33.patch: Patch for 3.3bug16152_v27.patch: Patch for 2.7 Note: these values reflect the state of the issue at the t...
Opengraph URL: https://github.com/python/cpython/issues/60356
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Trailing whitespace makes tokenize.generate_tokens pathological","articleBody":"BPO | [16152](https://bugs.python.org/issue16152)\n--- | :---\nNosy | @jcea, @vstinner, @nedbat, @ezio-melotti\nPRs | \u003cli\u003epython/cpython#6572\u003c/li\u003e\nFiles | \u003cli\u003e[bug16152_v33.patch](https://bugs.python.org/file27466/bug16152_v33.patch \"Uploaded as text/plain at 2012-10-07.00:47:39 by @nedbat\"): Patch for 3.3\u003c/li\u003e\u003cli\u003e[bug16152_v27.patch](https://bugs.python.org/file27467/bug16152_v27.patch \"Uploaded as text/plain at 2012-10-07.00:48:03 by @nedbat\"): Patch for 2.7\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = 'https://github.com/ezio-melotti'\nclosed_at = \u003cDate 2012-11-03.15:53:58.477\u003e\ncreated_at = \u003cDate 2012-10-06.21:09:21.224\u003e\nlabels = ['type-bug', 'library']\ntitle = 'Trailing whitespace makes tokenize.generate_tokens pathological'\nupdated_at = \u003cDate 2018-04-23.01:26:42.255\u003e\nuser = 'https://github.com/nedbat'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2018-04-23.01:26:42.255\u003e\nactor = 'nedbat'\nassignee = 'ezio.melotti'\nclosed = True\nclosed_date = \u003cDate 2012-11-03.15:53:58.477\u003e\ncloser = 'ezio.melotti'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2012-10-06.21:09:21.224\u003e\ncreator = 'nedbat'\ndependencies = []\nfiles = ['27466', '27467']\nhgrepos = []\nissue_num = 16152\nkeywords = ['patch']\nmessage_count = 8.0\nmessages = ['172244', '172246', '172276', '172546', '172548', '174640', '174641', '315641']\nnosy_count = 5.0\nnosy_names = ['jcea', 'vstinner', 'nedbat', 'ezio.melotti', 'python-dev']\npr_nums = ['6572']\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue16152'\nversions = ['Python 2.7', 'Python 3.2', 'Python 3.3', 'Python 3.4']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/nedbat","@type":"Person","name":"nedbat"},"datePublished":"2012-10-06T21:09:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/60356/cpython/issues/60356"}
| 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:687f8ef6-678a-c3fc-9e37-ac52e4838abc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D14C:2052BE:1A0E8D8:23C1F7E:6A53F1E4 |
| html-safe-nonce | d46cacec0ece6b5c589765811048d15bb645bcdb3604b5a6035b1ca6bc7e14f9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTRDOjIwNTJCRToxQTBFOEQ4OjIzQzFGN0U6NkE1M0YxRTQiLCJ2aXNpdG9yX2lkIjoiNjkwMDk5MTI3OTMyNjU1NjY0NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 92e452bb4ad9fdad748eebf5905a14509eed35fe2e1cc4aa4a2908c6d0983025 |
| hovercard-subject-tag | issue:1198889393 |
| 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/60356/issue_layout |
| twitter:image | https://opengraph.githubassets.com/52d3faf5744c86f2413477dad1d299ca4fbf94b724cb962e8814d9b54ab4daf4/python/cpython/issues/60356 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/52d3faf5744c86f2413477dad1d299ca4fbf94b724cb962e8814d9b54ab4daf4/python/cpython/issues/60356 |
| og:image:alt | BPO 16152 Nosy @jcea, @vstinner, @nedbat, @ezio-melotti PRs #6572 Files bug16152_v33.patch: Patch for 3.3bug16152_v27.patch: Patch for 2.7 Note: these values reflect the state of the issue at the t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nedbat |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width