Title: gh-151673: Fix crash in warnings.warn() under memory pressure by Ijtihed · Pull Request #151767 · python/cpython · GitHub
Open Graph Title: gh-151673: Fix crash in warnings.warn() under memory pressure by Ijtihed · Pull Request #151767 · python/cpython
X Title: gh-151673: Fix crash in warnings.warn() under memory pressure by Ijtihed · Pull Request #151767 · python/cpython
Description: When warnings.warn() runs while every allocation is failing setup_context() took the f == NULL branch and called PyUnicode_FromString("
Open Graph Description: When warnings.warn() runs while every allocation is failing setup_context() took the f == NULL branch and called PyUnicode_FromString("<sys>") without checking the result. The resul...
X Description: When warnings.warn() runs while every allocation is failing setup_context() took the f == NULL branch and called PyUnicode_FromString("<sys>") without checking the r...
Opengraph URL: https://github.com/python/cpython/pull/151767
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:41e89851-659c-eb47-da99-9d80300e8dc8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E5C0:25EC2E:C3DD50:104895C:6A5322C8 |
| html-safe-nonce | 7f89d0616139ee18cefeb9a6c45b5afababda0cbfb24245def6259dcb508a344 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUMwOjI1RUMyRTpDM0RENTA6MTA0ODk1Qzo2QTUzMjJDOCIsInZpc2l0b3JfaWQiOiI2NDc0MTg5Mzc1NDE2NzcxMjcyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b9da84ca9d4c0840e8cbad115e356e8688144ce1854a28ef2d25a5dcd7555e24 |
| hovercard-subject-tag | pull_request:3902501594 |
| 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/151767/files |
| twitter:image | https://avatars.githubusercontent.com/u/157096389?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/157096389?s=400&v=4 |
| og:image:alt | When warnings.warn() runs while every allocation is failing setup_context() took the f == NULL branch and called PyUnicode_FromString("<sys>") without checking the result. The resul... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width