Title: gh-153182: Explicitly return NULL when `new_keys_object` call fails in `_PyDict_NewKeysForClass` by stestagg · Pull Request #153183 · python/cpython · GitHub
Open Graph Title: gh-153182: Explicitly return NULL when `new_keys_object` call fails in `_PyDict_NewKeysForClass` by stestagg · Pull Request #153183 · python/cpython
X Title: gh-153182: Explicitly return NULL when `new_keys_object` call fails in `_PyDict_NewKeysForClass` by stestagg · Pull Request #153183 · python/cpython
Description: This prevents a segfault when code further down the function tries to populate keys with the contents of __static_attributes__ Issue: gh-153182
Open Graph Description: This prevents a segfault when code further down the function tries to populate keys with the contents of __static_attributes__ Issue: gh-153182
X Description: This prevents a segfault when code further down the function tries to populate keys with the contents of __static_attributes__ Issue: gh-153182
Opengraph URL: https://github.com/python/cpython/pull/153183
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8a8a4401-3e4a-ff09-7840-8766e920ddd6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E144:21DD4:1378F4:1B09F3:6A511142 |
| html-safe-nonce | 97112b6929de165d5177cf5d308d8bfddd47944afc1713eb59b99e728e10ea81 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTQ0OjIxREQ0OjEzNzhGNDoxQjA5RjM6NkE1MTExNDIiLCJ2aXNpdG9yX2lkIjoiNDI1NTQ0OTQ0ODU5NTUwMDE4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b24b6448761ce8749ab63340732c592bc09345978a92e81d8ccae83e8fb9c0ec |
| hovercard-subject-tag | pull_request:3997975318 |
| 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/153183/files |
| twitter:image | https://avatars.githubusercontent.com/u/704526?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/704526?s=400&v=4 |
| og:image:alt | This prevents a segfault when code further down the function tries to populate keys with the contents of __static_attributes__ Issue: gh-153182 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b076e100febaa00374cd89239f915d00dd3187f7c68b12bc2b7688181305344d |
| 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 | f9137f6d981cbbfd780af369f80ce890b2d0d2d4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width