Title: Add per-module state handling and API to PyModule by Copilot · Pull Request #6519 · RustPython/RustPython · GitHub
Open Graph Title: Add per-module state handling and API to PyModule by Copilot · Pull Request #6519 · RustPython/RustPython
X Title: Add per-module state handling and API to PyModule by Copilot · Pull Request #6519 · RustPython/RustPython
Description: The VM lacked a consistent module-level state mechanism analogous to CPython’s PyModule_GetState. API: Added PyModule::get_state and get_or_try_init_state, storing state behind a PyRwLock
Open Graph Description: The VM lacked a consistent module-level state mechanism analogous to CPython’s PyModule_GetState. API: Added PyModule::get_state and get_or_try_init_state, storing state behind a PyRwLock<Optio...
X Description: The VM lacked a consistent module-level state mechanism analogous to CPython’s PyModule_GetState. API: Added PyModule::get_state and get_or_try_init_state, storing state behind a PyRwLock<O...
Opengraph URL: https://github.com/RustPython/RustPython/pull/6519
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e2a24524-a680-5927-af4d-c6d260910c2c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 95EE:2ACEE1:66E9AB:8C9DC9:696FE55A |
| html-safe-nonce | 4a81f5a84e99f2498d13a0a795ac418d0798ea07e61863969c1add74facd1d41 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NUVFOjJBQ0VFMTo2NkU5QUI6OEM5REM5OjY5NkZFNTVBIiwidmlzaXRvcl9pZCI6IjMxMDY0MjMyMDEyNjUwODM3MzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1ffc5a207d2330ede16ef4261c066492c027eb62454506f203a6f66c44ac13bf |
| hovercard-subject-tag | pull_request:3129797153 |
| 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/RustPython/RustPython/pull/6519/files |
| twitter:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| og:image:alt | The VM lacked a consistent module-level state mechanism analogous to CPython’s PyModule_GetState. API: Added PyModule::get_state and get_or_try_init_state, storing state behind a PyRwLock<Optio... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | bb7c872aa74896d911608183f4997f8b9c121a1624064705ec4570cd91bd7839 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 257e1b418957178bd3ac9f7520608a40ebbb0f1e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width