Title: compile() doesn't ignore the source encoding when a string is passed in · Issue #48876 · python/cpython · GitHub
Open Graph Title: compile() doesn't ignore the source encoding when a string is passed in · Issue #48876 · python/cpython
X Title: compile() doesn't ignore the source encoding when a string is passed in · Issue #48876 · python/cpython
Description: BPO 4626 Nosy @brettcannon, @amauryfa, @vstinner, @benjaminp Files tokenizer_ignore_cookie-4.patchtok_ignore_cookie-5.patchunnamed Note: these values reflect the state of the issue at the time it was migrated and might not reflect the cu...
Open Graph Description: BPO 4626 Nosy @brettcannon, @amauryfa, @vstinner, @benjaminp Files tokenizer_ignore_cookie-4.patchtok_ignore_cookie-5.patchunnamed Note: these values reflect the state of the issue at the time it w...
X Description: BPO 4626 Nosy @brettcannon, @amauryfa, @vstinner, @benjaminp Files tokenizer_ignore_cookie-4.patchtok_ignore_cookie-5.patchunnamed Note: these values reflect the state of the issue at the time it w...
Opengraph URL: https://github.com/python/cpython/issues/48876
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"compile() doesn't ignore the source encoding when a string is passed in","articleBody":"BPO | [4626](https://bugs.python.org/issue4626)\n--- | :---\nNosy | @brettcannon, @amauryfa, @vstinner, @benjaminp\nFiles | \u003cli\u003e[tokenizer_ignore_cookie-4.patch](https://bugs.python.org/file12889/tokenizer_ignore_cookie-4.patch \"Uploaded as text/plain at 2009-01-29.23:13:34 by @vstinner\")\u003c/li\u003e\u003cli\u003e[tok_ignore_cookie-5.patch](https://bugs.python.org/file13087/tok_ignore_cookie-5.patch \"Uploaded as text/plain at 2009-02-14.18:23:06 by @benjaminp\")\u003c/li\u003e\u003cli\u003e[unnamed](https://bugs.python.org/file13411/unnamed \"Uploaded as text/plain at 2009-03-24.23:40:12 by @brettcannon\")\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/benjaminp'\nclosed_at = \u003cDate 2009-03-02.23:32:33.644\u003e\ncreated_at = \u003cDate 2008-12-11.06:19:16.441\u003e\nlabels = ['interpreter-core', 'type-bug']\ntitle = \"compile() doesn't ignore the source encoding when a string is passed in\"\nupdated_at = \u003cDate 2009-03-30.19:26:09.596\u003e\nuser = 'https://github.com/brettcannon'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2009-03-30.19:26:09.596\u003e\nactor = 'jmfauth'\nassignee = 'benjamin.peterson'\nclosed = True\nclosed_date = \u003cDate 2009-03-02.23:32:33.644\u003e\ncloser = 'benjamin.peterson'\ncomponents = ['Interpreter Core']\ncreation = \u003cDate 2008-12-11.06:19:16.441\u003e\ncreator = 'brett.cannon'\ndependencies = []\nfiles = ['12889', '13087', '13411']\nhgrepos = []\nissue_num = 4626\nkeywords = ['patch', 'needs review']\nmessage_count = 29.0\nmessages = ['77590', '78534', '78917', '78930', '79102', '79103', '79104', '79992', '79997', '80579', '80613', '80635', '80791', '80804', '82102', '82393', '82615', '82793', '82815', '83047', '83048', '83069', '84093', '84125', '84153', '84154', '84159', '84160', '84623']\nnosy_count = 6.0\nnosy_names = ['brett.cannon', 'sjmachin', 'amaury.forgeotdarc', 'vstinner', 'benjamin.peterson', 'jmfauth']\npr_nums = []\npriority = 'normal'\nresolution = 'fixed'\nstage = 'needs patch'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue4626'\nversions = ['Python 3.0', 'Python 3.1']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/brettcannon","@type":"Person","name":"brettcannon"},"datePublished":"2008-12-11T06:19:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":29},"url":"https://github.com/48876/cpython/issues/48876"}
| 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:1d640e43-76dd-4775-2806-eeaf71bdcad8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E55A:37B4D8:170AF8:20C116:6A4D075D |
| html-safe-nonce | 0f32baf28af81b431d13eb80a07f77c8146b2ac2bcf4b5469c6b683c8d69522e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTVBOjM3QjREODoxNzBBRjg6MjBDMTE2OjZBNEQwNzVEIiwidmlzaXRvcl9pZCI6IjE3MTI3NDk1NDY4NjgzNzc0MzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 91257f22e4b56c84a8a9fdbb352e5b91c9cd16bda7b46f6ed917fb3ddf4f9f39 |
| hovercard-subject-tag | issue:1198838583 |
| 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/48876/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0e567a2176538256c410821ec084713e90c28e84dc0bf6cf8e2dab2b9b750111/python/cpython/issues/48876 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0e567a2176538256c410821ec084713e90c28e84dc0bf6cf8e2dab2b9b750111/python/cpython/issues/48876 |
| og:image:alt | BPO 4626 Nosy @brettcannon, @amauryfa, @vstinner, @benjaminp Files tokenizer_ignore_cookie-4.patchtok_ignore_cookie-5.patchunnamed Note: these values reflect the state of the issue at the time it w... |
| 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 | 31e4db13a9e20081f2fac78f441659a6576e582bbb15e153f9c7fb6473aa29f5 |
| 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 | fb70bd3c4b2bec429781b65419e912c66e2d5581 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width