Title: [3.7] bpo-36829: Enhance PyErr_WriteUnraisable() by vstinner · Pull Request #13487 · python/cpython · GitHub
Open Graph Title: [3.7] bpo-36829: Enhance PyErr_WriteUnraisable() by vstinner · Pull Request #13487 · python/cpython
X Title: [3.7] bpo-36829: Enhance PyErr_WriteUnraisable() by vstinner · Pull Request #13487 · python/cpython
Description: PyErr_WriteUnraisable() now displays the exception even if displaying the traceback failed. Moreover, hold a reference to sys.stderr while using it. Document that an exception must be set when calling PyErr_WriteUnraisable(), but don't add an assertion to check it at runtime. Cleanup: use longer names for variables and create write_unraisable_exc_file() subfunction. https://bugs.python.org/issue36829
Open Graph Description: PyErr_WriteUnraisable() now displays the exception even if displaying the traceback failed. Moreover, hold a reference to sys.stderr while using it. Document that an exception must be set when call...
X Description: PyErr_WriteUnraisable() now displays the exception even if displaying the traceback failed. Moreover, hold a reference to sys.stderr while using it. Document that an exception must be set when call...
Opengraph URL: https://github.com/python/cpython/pull/13487
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:ab9f9a53-ca41-c0b1-0241-31cfaa0f7d3d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BBE0:2B1AB1:170B79B:1E2B611:696B280A |
| html-safe-nonce | e7ee933423166af5b97bb1f4fbefd08c76f3498a8fa08329f7d5146cd21b5b3c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQkUwOjJCMUFCMToxNzBCNzlCOjFFMkI2MTE6Njk2QjI4MEEiLCJ2aXNpdG9yX2lkIjoiNDgxNTYzMjcyNjkzMDE3MTkxNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 058f3f2ec27aefab0bd08fb1aa83f0927bc4d9dd540e0f909f208f4b233e5e0d |
| hovercard-subject-tag | pull_request:281113844 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/python/cpython/pull/13487/files |
| twitter:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| og:image:alt | PyErr_WriteUnraisable() now displays the exception even if displaying the traceback failed. Moreover, hold a reference to sys.stderr while using it. Document that an exception must be set when call... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width