Title: [3.9] bpo-43710: Change layout of pystate struct to preserve intra-version ABI compatibiliy. by markshannon · Pull Request #25160 · python/cpython · GitHub
Open Graph Title: [3.9] bpo-43710: Change layout of pystate struct to preserve intra-version ABI compatibiliy. by markshannon · Pull Request #25160 · python/cpython
X Title: [3.9] bpo-43710: Change layout of pystate struct to preserve intra-version ABI compatibiliy. by markshannon · Pull Request #25160 · python/cpython
Description: This PR replaces the original (in 3.9.0) char overflowed; char recursion_critical; with short recursion_headroom; restoring the ABI broken by #24501 Since recursion_headroom, overflowed, and recursion_critical all serve the same purpose, indicating that RecursionError should not be raised unless overflow become excessive, we can safely merge them. I choose to use short recursion_headroom rather than using char recursion_headroom and leaving recursion_critical in place, so that assignments to recursion_critical in code compiled for 3.9.0 will be visible as changes to recursion_headroom. The layout will be the same (at least for all compilers where sizeof(short) == sizeof(char)*2). https://bugs.python.org/issue43710
Open Graph Description: This PR replaces the original (in 3.9.0) char overflowed; char recursion_critical; with short recursion_headroom; restoring the ABI broken by #24501 Since recursion_headroom, overflowe...
X Description: This PR replaces the original (in 3.9.0) char overflowed; char recursion_critical; with short recursion_headroom; restoring the ABI broken by #24501 Since recursion_headroom, overflowe...
Opengraph URL: https://github.com/python/cpython/pull/25160
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:32857142-896d-dfe9-0a51-dea26aab04fa |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8DFC:1F08C5:30E2084:42EA191:6A54A188 |
| html-safe-nonce | 6139e226581b05c4890eeda8b8a2c00d3b27aa994c814903f40d3dc5dbc40b2e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4REZDOjFGMDhDNTozMEUyMDg0OjQyRUExOTE6NkE1NEExODgiLCJ2aXNpdG9yX2lkIjoiNjc5NjA1MDc1ODU0MDUwMTM4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 219c008cee35893d54cae2252ce04d6e9ed1b08249070dcb75d63bec5a8fb95f |
| hovercard-subject-tag | pull_request:608376981 |
| 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/25160/files |
| twitter:image | https://avatars.githubusercontent.com/u/9448417?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/9448417?s=400&v=4 |
| og:image:alt | This PR replaces the original (in 3.9.0) char overflowed; char recursion_critical; with short recursion_headroom; restoring the ABI broken by #24501 Since recursion_headroom, overflowe... |
| 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 | f8cfff6384f62259baea531c7f58bc7040f8dd92 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width