Title: [3.13] gh-152635: Raise MemoryError when the lock allocation fails in `_interpchannels.create()` (GH-152642) by miss-islington · Pull Request #152673 · python/cpython · GitHub
Open Graph Title: [3.13] gh-152635: Raise MemoryError when the lock allocation fails in `_interpchannels.create()` (GH-152642) by miss-islington · Pull Request #152673 · python/cpython
X Title: [3.13] gh-152635: Raise MemoryError when the lock allocation fails in `_interpchannels.create()` (GH-152642) by miss-islington · Pull Request #152673 · python/cpython
Description: Previously, an allocation failure when creating the lock for a channel in _interpchannels would trigger an assert. Caused by handle_channel_error being passed an error code of -1 which is only allowed if an exception has been set. (in this case, no exception was set) channelsmod_create now forwards the error code from channel_create which handle_channel_error already handled. (cherry picked from commit b383aa6) Co-authored-by: Steve Stagg stestagg@gmail.com Co-authored-by: sobolevn mail@sobolevn.me Issue: gh-152635
Open Graph Description: Previously, an allocation failure when creating the lock for a channel in _interpchannels would trigger an assert. Caused by handle_channel_error being passed an error code of -1 which is only allo...
X Description: Previously, an allocation failure when creating the lock for a channel in _interpchannels would trigger an assert. Caused by handle_channel_error being passed an error code of -1 which is only allo...
Opengraph URL: https://github.com/python/cpython/pull/152673
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:5eae714c-e459-0ae1-1863-21908f15d8b1 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8B46:181C99:29B79:37A35:6A525C2D |
| html-safe-nonce | 246445adc1e76b5b64a3e5b1b061ff3760f20d82361342ac9d22841694c2f71b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjQ2OjE4MUM5OToyOUI3OTozN0EzNTo2QTUyNUMyRCIsInZpc2l0b3JfaWQiOiIzMTk3Mzk1Njg5NTU1NTE2NDYxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3718f3445aadc13173a5e6e77615e802119e8ee63ebab78e62dcb97e6657deaf |
| hovercard-subject-tag | pull_request:3962563941 |
| 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/152673/files |
| twitter:image | https://avatars.githubusercontent.com/u/31488909?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/31488909?s=400&v=4 |
| og:image:alt | Previously, an allocation failure when creating the lock for a channel in _interpchannels would trigger an assert. Caused by handle_channel_error being passed an error code of -1 which is only allo... |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width