Title: Delayed exception using non-text encodings with TextIOWrapper · Issue #64603 · python/cpython · GitHub
Open Graph Title: Delayed exception using non-text encodings with TextIOWrapper · Issue #64603 · python/cpython
X Title: Delayed exception using non-text encodings with TextIOWrapper · Issue #64603 · python/cpython
Description: BPO 20404 Nosy @birkenfeld, @ncoghlan, @pitrou, @vstinner, @larryhastings, @serhiy-storchaka Files issue20404_check_valid_textio_codec.diff: Check codec validity in TextIOWrapper.initissue20404_check_valid_textio_codec_v2.diff: Rationali...
Open Graph Description: BPO 20404 Nosy @birkenfeld, @ncoghlan, @pitrou, @vstinner, @larryhastings, @serhiy-storchaka Files issue20404_check_valid_textio_codec.diff: Check codec validity in TextIOWrapper.initissue20404_che...
X Description: BPO 20404 Nosy @birkenfeld, @ncoghlan, @pitrou, @vstinner, @larryhastings, @serhiy-storchaka Files issue20404_check_valid_textio_codec.diff: Check codec validity in TextIOWrapper.initissue20404_che...
Opengraph URL: https://github.com/python/cpython/issues/64603
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Delayed exception using non-text encodings with TextIOWrapper","articleBody":"BPO | [20404](https://bugs.python.org/issue20404)\n--- | :---\nNosy | @birkenfeld, @ncoghlan, @pitrou, @vstinner, @larryhastings, @serhiy-storchaka\nFiles | \u003cli\u003e[issue20404_check_valid_textio_codec.diff](https://bugs.python.org/file33747/issue20404_check_valid_textio_codec.diff \"Uploaded as text/plain at 2014-01-27.12:29:16 by @ncoghlan\"): Check codec validity in TextIOWrapper.__init__\u003c/li\u003e\u003cli\u003e[issue20404_check_valid_textio_codec_v2.diff](https://bugs.python.org/file33856/issue20404_check_valid_textio_codec_v2.diff \"Uploaded as text/plain at 2014-02-02.05:08:58 by @ncoghlan\"): Rationalise codec lookups during TextIOWrapper creation\u003c/li\u003e\u003cli\u003e[issue20404_check_valid_textio_codec_v3.diff](https://bugs.python.org/file33899/issue20404_check_valid_textio_codec_v3.diff \"Uploaded as text/plain at 2014-02-04.10:53:38 by @ncoghlan\"): Updated for Serhiy's comments\u003c/li\u003e\u003cli\u003e[issue20404_check_valid_textio_codec-3.3.patch](https://bugs.python.org/file34221/issue20404_check_valid_textio_codec-3.3.patch \"Uploaded as text/plain at 2014-02-25.18:38:20 by @serhiy-storchaka\")\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/ncoghlan'\nclosed_at = \u003cDate 2014-02-04.12:14:10.985\u003e\ncreated_at = \u003cDate 2014-01-27.05:01:16.793\u003e\nlabels = ['type-bug', 'expert-IO', 'release-blocker']\ntitle = 'Delayed exception using non-text encodings with TextIOWrapper'\nupdated_at = \u003cDate 2015-05-31.17:21:42.361\u003e\nuser = 'https://github.com/ncoghlan'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2015-05-31.17:21:42.361\u003e\nactor = 'python-dev'\nassignee = 'ncoghlan'\nclosed = True\nclosed_date = \u003cDate 2014-02-04.12:14:10.985\u003e\ncloser = 'python-dev'\ncomponents = ['IO']\ncreation = \u003cDate 2014-01-27.05:01:16.793\u003e\ncreator = 'ncoghlan'\ndependencies = []\nfiles = ['33747', '33856', '33899', '34221']\nhgrepos = []\nissue_num = 20404\nkeywords = ['patch']\nmessage_count = 12.0\nmessages = ['209396', '209399', '209438', '209948', '209949', '209970', '210197', '210198', '210217', '212195', '212539', '244549']\nnosy_count = 7.0\nnosy_names = ['georg.brandl', 'ncoghlan', 'pitrou', 'vstinner', 'larry', 'python-dev', 'serhiy.storchaka']\npr_nums = []\npriority = 'release blocker'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue20404'\nversions = ['Python 3.4']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/ncoghlan","@type":"Person","name":"ncoghlan"},"datePublished":"2014-01-27T05:01:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/64603/cpython/issues/64603"}
| 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:04ed1e70-b5fb-cafe-3f4b-8b7a7a5b24e1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C0E0:D7451:114C279:177A506:6A4D691C |
| html-safe-nonce | adddc1f089a2a8d7ae47130037d04ab88d271ed9152f3bbea5e76c1ca2fd6754 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMEUwOkQ3NDUxOjExNEMyNzk6MTc3QTUwNjo2QTRENjkxQyIsInZpc2l0b3JfaWQiOiI2NTAyNTgzNzY5MjgyNDcyMjIwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 76ef106d8b26efbba525231ff18a854ccef45105eb5f4a36a189e2d33a3af5c8 |
| hovercard-subject-tag | issue:1198913525 |
| 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/64603/issue_layout |
| twitter:image | https://opengraph.githubassets.com/80f236ca44d774ff365ce7df50f859944eb1af8378d9f1770dcefc4e6abc5abb/python/cpython/issues/64603 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/80f236ca44d774ff365ce7df50f859944eb1af8378d9f1770dcefc4e6abc5abb/python/cpython/issues/64603 |
| og:image:alt | BPO 20404 Nosy @birkenfeld, @ncoghlan, @pitrou, @vstinner, @larryhastings, @serhiy-storchaka Files issue20404_check_valid_textio_codec.diff: Check codec validity in TextIOWrapper.initissue20404_che... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ncoghlan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7db3950e3f59095e20a9789440c3dd554efc62d434882ead06ae05b5815605b9 |
| 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 | cd8f6a71db61d6012a0cbb134be844fdbe9b8a45 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width