Title: compile() cannot decode Latin-1 source encodings · Issue #47824 · python/cpython · GitHub
Open Graph Title: compile() cannot decode Latin-1 source encodings · Issue #47824 · python/cpython
X Title: compile() cannot decode Latin-1 source encodings · Issue #47824 · python/cpython
Description: BPO 3574 Nosy @loewis, @warsaw, @brettcannon, @vstinner, @benjaminp Dependencies bpo-2384: [Py3k] line number is wrong after encoding declarationbpo-3594: PyTokenizer_FindEncoding() never succeeds Files fix_latin.difftest_pep3120.pyiso.p...
Open Graph Description: BPO 3574 Nosy @loewis, @warsaw, @brettcannon, @vstinner, @benjaminp Dependencies bpo-2384: [Py3k] line number is wrong after encoding declarationbpo-3594: PyTokenizer_FindEncoding() never succeeds ...
X Description: BPO 3574 Nosy @loewis, @warsaw, @brettcannon, @vstinner, @benjaminp Dependencies bpo-2384: [Py3k] line number is wrong after encoding declarationbpo-3594: PyTokenizer_FindEncoding() never succeeds ...
Opengraph URL: https://github.com/python/cpython/issues/47824
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"compile() cannot decode Latin-1 source encodings","articleBody":"BPO | [3574](https://bugs.python.org/issue3574)\n--- | :---\nNosy | @loewis, @warsaw, @brettcannon, @vstinner, @benjaminp\nDependencies | \u003cli\u003ebpo-2384: [Py3k] line number is wrong after encoding declaration\u003c/li\u003e\u003cli\u003ebpo-3594: PyTokenizer_FindEncoding() never succeeds\u003c/li\u003e\nFiles | \u003cli\u003e[fix_latin.diff](https://bugs.python.org/file11398/fix_latin.diff \"Uploaded as text/plain at 2008-09-05.20:36:28 by @brettcannon\")\u003c/li\u003e\u003cli\u003e[test_pep3120.py](https://bugs.python.org/file11399/test_pep3120.py \"Uploaded as text/plain at 2008-09-05.20:37:07 by @brettcannon\")\u003c/li\u003e\u003cli\u003e[iso.py](https://bugs.python.org/file11697/iso.py \"Uploaded as text/plain at 2008-10-04.00:19:38 by @vstinner\"): Script encoding in ISO-8859-1 and has the #coding header\u003c/li\u003e\u003cli\u003e[tokenizer_iso-8859-1-patch2.patch](https://bugs.python.org/file11700/tokenizer_iso-8859-1-patch2.patch \"Uploaded as text/plain at 2008-10-04.01:42:21 by @vstinner\")\u003c/li\u003e\u003cli\u003e[tokenizer_iso-8859-1-patch3.patch](https://bugs.python.org/file11716/tokenizer_iso-8859-1-patch3.patch \"Uploaded as text/plain at 2008-10-06.21:49:17 by @vstinner\")\u003c/li\u003e\u003cli\u003e[alt_latin_1.diff](https://bugs.python.org/file11722/alt_latin_1.diff \"Uploaded as text/plain at 2008-10-07.00:26:55 by @brettcannon\"): Tweak to Victor's patch\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/brettcannon'\nclosed_at = \u003cDate 2008-10-17.03:39:11.888\u003e\ncreated_at = \u003cDate 2008-08-17.00:39:39.566\u003e\nlabels = ['interpreter-core', 'type-bug', 'release-blocker']\ntitle = 'compile() cannot decode Latin-1 source encodings'\nupdated_at = \u003cDate 2008-10-17.03:39:11.887\u003e\nuser = 'https://github.com/brettcannon'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2008-10-17.03:39:11.887\u003e\nactor = 'brett.cannon'\nassignee = 'brett.cannon'\nclosed = True\nclosed_date = \u003cDate 2008-10-17.03:39:11.888\u003e\ncloser = 'brett.cannon'\ncomponents = ['Interpreter Core']\ncreation = \u003cDate 2008-08-17.00:39:39.566\u003e\ncreator = 'brett.cannon'\ndependencies = ['2384', '3594']\nfiles = ['11398', '11399', '11697', '11700', '11716', '11722']\nhgrepos = []\nissue_num = 3574\nkeywords = ['patch']\nmessage_count = 31.0\nmessages = ['71251', '71252', '71257', '71258', '71401', '71402', '71403', '71846', '71850', '71852', '71855', '72624', '74287', '74288', '74291', '74294', '74295', '74296', '74299', '74300', '74393', '74415', '74428', '74620', '74642', '74793', '74807', '74811', '74892', '74894', '74895']\nnosy_count = 5.0\nnosy_names = ['loewis', 'barry', 'brett.cannon', 'vstinner', 'benjamin.peterson']\npr_nums = []\npriority = 'release blocker'\nresolution = 'accepted'\nstage = None\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue3574'\nversions = ['Python 3.0']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/brettcannon","@type":"Person","name":"brettcannon"},"datePublished":"2008-08-17T00:39:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":31},"url":"https://github.com/47824/cpython/issues/47824"}
| 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:3c366c1e-e615-fdaa-06d0-b231d318f10d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B282:B72C9:7C989C:A8CD06:6A4DB4C5 |
| html-safe-nonce | cb163dc6f1cf4fef4e30b670c4b22eebbbd951e646fb24814f30d509bad200da |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjgyOkI3MkM5OjdDOTg5QzpBOENEMDY6NkE0REI0QzUiLCJ2aXNpdG9yX2lkIjoiODIyNTU4NzcyOTE3NTI2MjQwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c213b5e3ac9aeba60932c996ab5dca2f5d8ad34abdd5010ce8b6c1238fc02315 |
| hovercard-subject-tag | issue:1198834471 |
| 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/47824/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a12d721e14d0ce29b0417d441ed9efa6c65d2400513e64793cf1d2c107dbcd9f/python/cpython/issues/47824 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a12d721e14d0ce29b0417d441ed9efa6c65d2400513e64793cf1d2c107dbcd9f/python/cpython/issues/47824 |
| og:image:alt | BPO 3574 Nosy @loewis, @warsaw, @brettcannon, @vstinner, @benjaminp Dependencies bpo-2384: [Py3k] line number is wrong after encoding declarationbpo-3594: PyTokenizer_FindEncoding() never succeeds ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | brettcannon |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| 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 | 32f7b614aca06e6bbd89842b1370df1328264f68 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width