Title: bpo-36710: Add 'ceval' local variable to ceval.c by vstinner · Pull Request #12934 · python/cpython · GitHub
Open Graph Title: bpo-36710: Add 'ceval' local variable to ceval.c by vstinner · Pull Request #12934 · python/cpython
X Title: bpo-36710: Add 'ceval' local variable to ceval.c by vstinner · Pull Request #12934 · python/cpython
Description: Add "struct _ceval_runtime_state *ceval = &_PyRuntime.ceval;" local variables to function to better highlight the dependency on the global variable _PyRuntime and to point directly to _PyRuntime.ceval field rather than on the larger _PyRuntime. Changes: Add _PyRuntimeState_GetThreadState() _PyThreadState_GET() now calls _PyRuntimeState_GetThreadState() Add an explicit 'ceval' parameter to macros like COMPUTE_EVAL_BREAKER() or SIGNAL_PENDING_SIGNALS(). Add 'tstate' parameter to call_function(), do_call_core() and do_raise(). Add 'runtime' parameter to _Py_CURRENTLY_FINALIZING(). Declare 'runtime', 'tstate', 'ceval' and 'eval_breaker' variables as constant. https://bugs.python.org/issue36710
Open Graph Description: Add "struct _ceval_runtime_state *ceval = &_PyRuntime.ceval;" local variables to function to better highlight the dependency on the global variable _PyRuntime and to point directly to...
X Description: Add "struct _ceval_runtime_state *ceval = &_PyRuntime.ceval;" local variables to function to better highlight the dependency on the global variable _PyRuntime and to point...
Opengraph URL: https://github.com/python/cpython/pull/12934
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:aac5cf67-46e2-5f4d-eeb1-79ff8d1d9ee1 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | C8E2:10503:1F7673D:28FCDB8:696B43AA |
| html-safe-nonce | 04e175624f3192d0e8ecaf6e6e5728589c7d6de702e488024d5b166bcd4b0fa3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOEUyOjEwNTAzOjFGNzY3M0Q6MjhGQ0RCODo2OTZCNDNBQSIsInZpc2l0b3JfaWQiOiIxMzcyNjk1Njc0NDAxNTM4OTg2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 79d6229fc9e43bd6334d9a5bbda6d32436c71bf797f191434470ec7d9cd6dc52 |
| hovercard-subject-tag | pull_request:273145855 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/12934/checks |
| twitter:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| og:image:alt | Add "struct _ceval_runtime_state *ceval = &_PyRuntime.ceval;" local variables to function to better highlight the dependency on the global variable _PyRuntime and to point directly to... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| 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 full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width