Title: Add sys.unraisablehook() to customize how "unraisable exceptions" are logged · Issue #81010 · python/cpython · GitHub
Open Graph Title: Add sys.unraisablehook() to customize how "unraisable exceptions" are logged · Issue #81010 · python/cpython
X Title: Add sys.unraisablehook() to customize how "unraisable exceptions" are logged · Issue #81010 · python/cpython
Description: BPO 36829 Nosy @vstinner, @serhiy-storchaka, @graingert, @matrixise, @ZackerySpytz, @tirkarthi PRs #13175#13187#13487#13488#13490#13507#13554#13620#13752 Files gc_callback.pyuncollectable.pyio_destructor.pysite_hook.patchtoo_late_unraisa...
Open Graph Description: BPO 36829 Nosy @vstinner, @serhiy-storchaka, @graingert, @matrixise, @ZackerySpytz, @tirkarthi PRs #13175#13187#13487#13488#13490#13507#13554#13620#13752 Files gc_callback.pyuncollectable.pyio_dest...
X Description: BPO 36829 Nosy @vstinner, @serhiy-storchaka, @graingert, @matrixise, @ZackerySpytz, @tirkarthi PRs #13175#13187#13487#13488#13490#13507#13554#13620#13752 Files gc_callback.pyuncollectable.pyio_dest...
Opengraph URL: https://github.com/python/cpython/issues/81010
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add sys.unraisablehook() to customize how \"unraisable exceptions\" are logged","articleBody":"BPO | [36829](https://bugs.python.org/issue36829)\n--- | :---\nNosy | @vstinner, @serhiy-storchaka, @graingert, @matrixise, @ZackerySpytz, @tirkarthi\nPRs | \u003cli\u003epython/cpython#13175\u003c/li\u003e\u003cli\u003epython/cpython#13187\u003c/li\u003e\u003cli\u003epython/cpython#13487\u003c/li\u003e\u003cli\u003epython/cpython#13488\u003c/li\u003e\u003cli\u003epython/cpython#13490\u003c/li\u003e\u003cli\u003epython/cpython#13507\u003c/li\u003e\u003cli\u003epython/cpython#13554\u003c/li\u003e\u003cli\u003epython/cpython#13620\u003c/li\u003e\u003cli\u003epython/cpython#13752\u003c/li\u003e\nFiles | \u003cli\u003e[gc_callback.py](https://bugs.python.org/file48313/gc_callback.py \"Uploaded as text/plain at 2019-05-08.12:20:05 by @vstinner\")\u003c/li\u003e\u003cli\u003e[uncollectable.py](https://bugs.python.org/file48314/uncollectable.py \"Uploaded as text/plain at 2019-05-08.12:20:13 by @vstinner\")\u003c/li\u003e\u003cli\u003e[io_destructor.py](https://bugs.python.org/file48315/io_destructor.py \"Uploaded as text/plain at 2019-05-08.12:20:21 by @vstinner\")\u003c/li\u003e\u003cli\u003e[site_hook.patch](https://bugs.python.org/file48316/site_hook.patch \"Uploaded as text/plain at 2019-05-08.12:20:28 by @vstinner\")\u003c/li\u003e\u003cli\u003e[too_late_unraisable.py](https://bugs.python.org/file48321/too_late_unraisable.py \"Uploaded as text/plain at 2019-05-09.21:58:18 by @vstinner\")\u003c/li\u003e\u003cli\u003e[hook_file.patch](https://bugs.python.org/file48329/hook_file.patch \"Uploaded as text/plain at 2019-05-14.01:46:09 by @vstinner\")\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 = None\nclosed_at = \u003cDate 2019-05-27.22:57:04.603\u003e\ncreated_at = \u003cDate 2019-05-07.12:10:07.913\u003e\nlabels = ['interpreter-core', 'type-feature', '3.8']\ntitle = 'Add sys.unraisablehook() to customize how \"unraisable exceptions\" are logged'\nupdated_at = \u003cDate 2019-07-09.10:38:23.720\u003e\nuser = 'https://github.com/graingert'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2019-07-09.10:38:23.720\u003e\nactor = 'vstinner'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2019-05-27.22:57:04.603\u003e\ncloser = 'vstinner'\ncomponents = ['Interpreter Core']\ncreation = \u003cDate 2019-05-07.12:10:07.913\u003e\ncreator = 'graingert'\ndependencies = []\nfiles = ['48313', '48314', '48315', '48316', '48321', '48329']\nhgrepos = []\nissue_num = 36829\nkeywords = ['patch']\nmessage_count = 32.0\nmessages = ['341708', '341718', '341736', '341752', '341787', '341868', '342000', '342001', '342003', '342011', '342013', '342014', '342413', '342482', '342618', '343161', '343170', '343201', '343213', '343245', '343247', '343250', '343253', '343255', '343286', '343412', '343436', '343609', '343697', '343778', '344318', '347544']\nnosy_count = 6.0\nnosy_names = ['vstinner', 'serhiy.storchaka', 'graingert', 'matrixise', 'ZackerySpytz', 'xtreak']\npr_nums = ['13175', '13187', '13487', '13488', '13490', '13507', '13554', '13620', '13752']\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'enhancement'\nurl = 'https://bugs.python.org/issue36829'\nversions = ['Python 3.8']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/graingert","@type":"Person","name":"graingert"},"datePublished":"2019-05-07T12:10:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":32},"url":"https://github.com/81010/cpython/issues/81010"}
| 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:9d121f86-35bd-6428-ef28-d87432860c92 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A722:9CC2A:1F5B600:2B477A5:696AB405 |
| html-safe-nonce | be31a268cf4dfd5867da28f3b843559934b2cadb050c251d7f67cc491b5197e8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzIyOjlDQzJBOjFGNUI2MDA6MkI0NzdBNTo2OTZBQjQwNSIsInZpc2l0b3JfaWQiOiI2OTUxMDg2OTcwMzk3OTYzMjcwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9958abb169e17cf0b85ae048f97c444f256906056b9d277c4957eb898ec149fa |
| hovercard-subject-tag | issue:1199011397 |
| 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/81010/issue_layout |
| twitter:image | https://opengraph.githubassets.com/26235e4f423314747299bfcc1899dc84387a4bff8458f8223bcb3ce5de9d334b/python/cpython/issues/81010 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/26235e4f423314747299bfcc1899dc84387a4bff8458f8223bcb3ce5de9d334b/python/cpython/issues/81010 |
| og:image:alt | BPO 36829 Nosy @vstinner, @serhiy-storchaka, @graingert, @matrixise, @ZackerySpytz, @tirkarthi PRs #13175#13187#13487#13488#13490#13507#13554#13620#13752 Files gc_callback.pyuncollectable.pyio_dest... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | graingert |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4fa1799b6a53c2d30c950d74230781bef9e7f61138c72c7727e4b83f0743752b |
| 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 | 41f276818bd204c4a30a0281fb3c576298d9474c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width