Title: bpo-26558: Fix Py_FatalError() with GIL released by vstinner · Pull Request #10267 · python/cpython · GitHub
Open Graph Title: bpo-26558: Fix Py_FatalError() with GIL released by vstinner · Pull Request #10267 · python/cpython
X Title: bpo-26558: Fix Py_FatalError() with GIL released by vstinner · Pull Request #10267 · python/cpython
Description: Replace PyThreadState_GET() with PyGILState_GetThisThreadState() in _Py_FatalError_PrintExc(). PyThreadState_GET() must not be called with the GIL released: it reports the wrong Python thread state. PyGILState_GetThisThreadState() returns NULL if called from a C thread which has no Python thread state attached. https://bugs.python.org/issue26558
Open Graph Description: Replace PyThreadState_GET() with PyGILState_GetThisThreadState() in _Py_FatalError_PrintExc(). PyThreadState_GET() must not be called with the GIL released: it reports the wrong Python thread state...
X Description: Replace PyThreadState_GET() with PyGILState_GetThisThreadState() in _Py_FatalError_PrintExc(). PyThreadState_GET() must not be called with the GIL released: it reports the wrong Python thread state...
Opengraph URL: https://github.com/python/cpython/pull/10267
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b5c6cc5c-4dfa-7bce-4bdb-dd38a5797337 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9BB6:781E9:143B34B:1D4FF30:6A54CBD9 |
| html-safe-nonce | d939a6f5a3cb56c2f3766a60b7e3d15566a1c65d96ad889aaad4c0c0b236f35f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QkI2Ojc4MUU5OjE0M0IzNEI6MUQ0RkYzMDo2QTU0Q0JEOSIsInZpc2l0b3JfaWQiOiI5MjIwNDcwNTc3Nzc2ODcyNDA5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 21663ee045bcee2f02ba6fddd2c5738319d4961de1c4f51471f7f50ab69285b1 |
| hovercard-subject-tag | pull_request:227450577 |
| 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/10267/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 | Replace PyThreadState_GET() with PyGILState_GetThisThreadState() in _Py_FatalError_PrintExc(). PyThreadState_GET() must not be called with the GIL released: it reports the wrong Python thread state... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6e5f2e6ff3f430aa60a674066f957bca9f2106017e1b68126417422b58ce6e1e |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | be4d48619391052c9d312c7b587bb2ac38a97f57 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width