Title: Error when printing an exception containing a Unicode string · Issue #46769 · python/cpython · GitHub
Open Graph Title: Error when printing an exception containing a Unicode string · Issue #46769 · python/cpython
X Title: Error when printing an exception containing a Unicode string · Issue #46769 · python/cpython
Description: BPO 2517 Nosy @malemburg, @birkenfeld, @amauryfa, @ncoghlan, @pitrou, @benjaminp, @ezio-melotti Files unicode_exception_warning.patchexception-unicode.diff: Patch implementing BaseException.unicodetp_unicode_exception.patch: Patch to pro...
Open Graph Description: BPO 2517 Nosy @malemburg, @birkenfeld, @amauryfa, @ncoghlan, @pitrou, @benjaminp, @ezio-melotti Files unicode_exception_warning.patchexception-unicode.diff: Patch implementing BaseException.unicode...
X Description: BPO 2517 Nosy @malemburg, @birkenfeld, @amauryfa, @ncoghlan, @pitrou, @benjaminp, @ezio-melotti Files unicode_exception_warning.patchexception-unicode.diff: Patch implementing BaseException.unicode...
Opengraph URL: https://github.com/python/cpython/issues/46769
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error when printing an exception containing a Unicode string","articleBody":"BPO | [2517](https://bugs.python.org/issue2517)\n--- | :---\nNosy | @malemburg, @birkenfeld, @amauryfa, @ncoghlan, @pitrou, @benjaminp, @ezio-melotti\nFiles | \u003cli\u003e[unicode_exception_warning.patch](https://bugs.python.org/file9915/unicode_exception_warning.patch \"Uploaded as text/plain at 2008-04-01.02:22:27 by @benjaminp\")\u003c/li\u003e\u003cli\u003e[exception-unicode.diff](https://bugs.python.org/file10559/exception-unicode.diff \"Uploaded as text/plain at 2008-06-09.13:39:18 by hodgestar\"): Patch implementing BaseException.__unicode__\u003c/li\u003e\u003cli\u003e[tp_unicode_exception.patch](https://bugs.python.org/file10562/tp_unicode_exception.patch \"Uploaded as text/plain at 2008-06-09.19:04:50 by davidfraser\"): Patch to provide tp_unicode slot, and implementation for Exception\u003c/li\u003e\u003cli\u003e[exception-unicode-with-type-fetch.diff](https://bugs.python.org/file10580/exception-unicode-with-type-fetch.diff \"Uploaded as text/plain at 2008-06-11.11:54:38 by hodgestar\"): Implement Nigh Coghlan's suggestion from 67944.\u003c/li\u003e\u003cli\u003e[exception-unicode-with-type-fetch-no-whitespace-changes.diff](https://bugs.python.org/file10585/exception-unicode-with-type-fetch-no-whitespace-changes.diff \"Uploaded as text/plain at 2008-06-11.14:15:09 by @ncoghlan\"): Simon's patch with unneeded whitespace changes removed.\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 2008-07-08.14:15:53.841\u003e\ncreated_at = \u003cDate 2008-03-30.23:13:52.000\u003e\nlabels = ['type-bug', 'expert-unicode']\ntitle = 'Error when printing an exception containing a Unicode string'\nupdated_at = \u003cDate 2019-01-10.21:18:29.713\u003e\nuser = 'https://bugs.python.org/christoph'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2019-01-10.21:18:29.713\u003e\nactor = 'piotr.dobrogost'\nassignee = 'ncoghlan'\nclosed = True\nclosed_date = \u003cDate 2008-07-08.14:15:53.841\u003e\ncloser = 'ncoghlan'\ncomponents = ['Unicode']\ncreation = \u003cDate 2008-03-30.23:13:52.000\u003e\ncreator = 'christoph'\ndependencies = []\nfiles = ['9915', '10559', '10562', '10580', '10585']\nhgrepos = []\nissue_num = 2517\nkeywords = ['patch']\nmessage_count = 36.0\nmessages = ['64770', '64771', '64779', '64781', '64782', '64786', '64793', '64794', '64795', '64797', '64798', '64802', '64807', '64866', '64876', '67863', '67865', '67867', '67868', '67869', '67870', '67874', '67875', '67944', '67946', '67947', '67950', '67974', '67980', '67984', '67985', '67994', '68394', '69384', '69436', '333419']\nnosy_count = 12.0\nnosy_names = ['lemburg', 'georg.brandl', 'amaury.forgeotdarc', 'ncoghlan', 'davidfraser', 'ggenellina', 'pitrou', 'benjamin.peterson', 'christoph', 'ezio.melotti', 'hodgestar', 'piotr.dobrogost']\npr_nums = []\npriority = 'critical'\nresolution = 'fixed'\nstage = None\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue2517'\nversions = ['Python 2.6', 'Python 2.5']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/christoph","@type":"Person","name":"christoph"},"datePublished":"2008-03-30T23:13:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":36},"url":"https://github.com/46769/cpython/issues/46769"}
| 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:8d19230d-0d59-d705-349e-c36497fb7948 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C642:20853D:22C4104:2F893C6:6A4ECC6D |
| html-safe-nonce | bb46fce1d2efd942b68dbe02681cd222786031456cd028edf1d7fb6bc18543d7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjQyOjIwODUzRDoyMkM0MTA0OjJGODkzQzY6NkE0RUNDNkQiLCJ2aXNpdG9yX2lkIjoiNjY5OTQ5MjU0OTMzMTk2Mjk4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b9fccc0a003533de6fdcdd8cb6c1ace25dcd2382fcb729be58a703930f96523d |
| hovercard-subject-tag | issue:1198830409 |
| 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/46769/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4947ac382c5c4b0e2e4f84dab62bf61c7a57cb2e0f7b05fcaab8ba22e918622b/python/cpython/issues/46769 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4947ac382c5c4b0e2e4f84dab62bf61c7a57cb2e0f7b05fcaab8ba22e918622b/python/cpython/issues/46769 |
| og:image:alt | BPO 2517 Nosy @malemburg, @birkenfeld, @amauryfa, @ncoghlan, @pitrou, @benjaminp, @ezio-melotti Files unicode_exception_warning.patchexception-unicode.diff: Patch implementing BaseException.unicode... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | christoph |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| 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 | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width