Title: gh-98831: Clean up and add cache size static_assert to macro by gvanrossum · Pull Request #101442 · python/cpython · GitHub
Open Graph Title: gh-98831: Clean up and add cache size static_assert to macro by gvanrossum · Pull Request #101442 · python/cpython
X Title: gh-98831: Clean up and add cache size static_assert to macro by gvanrossum · Pull Request #101442 · python/cpython
Description: There's a static_assert generated in the first instruction of a family that causes a compile-time error if the cache effect size computed by the generator differs from the cache struct size (given as a macro, INLINE_CACHE_ENTRIES_XXX). This wasn't being generated if the head of the family was a macro though. This fixes that, and also blackifies a few places that slipped through the crack. Issue: gh-98831
Open Graph Description: There's a static_assert generated in the first instruction of a family that causes a compile-time error if the cache effect size computed by the generator differs from the cache struct size (gi...
X Description: There's a static_assert generated in the first instruction of a family that causes a compile-time error if the cache effect size computed by the generator differs from the cache struct size...
Opengraph URL: https://github.com/python/cpython/pull/101442
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e3beecfd-41a6-1bc3-aff9-d006e6499844 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A0B2:9F1EC:10852C9:171488D:696A3653 |
| html-safe-nonce | 90dd816848fea6997e98347089a76b56d65a00dda7706dbd82f4204a1818c6a8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMEIyOjlGMUVDOjEwODUyQzk6MTcxNDg4RDo2OTZBMzY1MyIsInZpc2l0b3JfaWQiOiI0MzEzODk5OTAwMTU2MzkzMDQzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 735c9b09835b16a7e34120e02d3e1b60c495b2a71a689a701a5de7408aa8fa1a |
| hovercard-subject-tag | pull_request:1222507356 |
| 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/101442/files |
| twitter:image | https://avatars.githubusercontent.com/u/2894642?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/2894642?s=400&v=4 |
| og:image:alt | There's a static_assert generated in the first instruction of a family that causes a compile-time error if the cache effect size computed by the generator differs from the cache struct size (gi... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 321736bfdb3f591415ae895a0459bec204b26a76caf47ba5c980634cfacc4538 |
| 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 | 7a9163cefd1ea4bd06f8eb7c082f43e4e53f626f |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width