| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:5ba27454-807a-84e3-e945-674303f69d92 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B5AA:14EC01:166CCEB:1F64591:696A444D |
| html-safe-nonce | 7656edfea979e1d52c0e340419ac66b6fb572994d89f1ffd43b366ca8f2c52fa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUFBOjE0RUMwMToxNjZDQ0VCOjFGNjQ1OTE6Njk2QTQ0NEQiLCJ2aXNpdG9yX2lkIjoiODM0ODAwNDIxNDE3NTg0MzQwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 192e15886945cbd55ecae58db0b7ada6627a1bf33e64ab9fa8cd89e24c66460a |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/RustPython/RustPython/6519/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/62ac502a9081a2283acec0eed70b7ab29ea3ac4f78b41a0f7c4a53383136c7bf/RustPython/RustPython/pull/6519 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/62ac502a9081a2283acec0eed70b7ab29ea3ac4f78b41a0f7c4a53383136c7bf/RustPython/RustPython/pull/6519 |
| 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:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Copilot |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef |
| turbo-cache-control | no-preview |
| 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 | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 63c426b30d262aba269ef14c40e3c817b384cd61 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://redirect.github.com/RustPython/RustPython/pull/6519#start-of-content |
|
| https://redirect.github.com/ |
|
Sign in
| https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F6519 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F6519 |
|
Sign up
| https://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=RustPython%2FRustPython |
| Reload | https://redirect.github.com/RustPython/RustPython/pull/6519 |
| Reload | https://redirect.github.com/RustPython/RustPython/pull/6519 |
| Reload | https://redirect.github.com/RustPython/RustPython/pull/6519 |
|
RustPython
| https://redirect.github.com/RustPython |
| RustPython | https://redirect.github.com/RustPython/RustPython |
|
Notifications
| https://redirect.github.com/login?return_to=%2FRustPython%2FRustPython |
|
Fork
1.4k
| https://redirect.github.com/login?return_to=%2FRustPython%2FRustPython |
|
Star
21.7k
| https://redirect.github.com/login?return_to=%2FRustPython%2FRustPython |
|
Code
| https://redirect.github.com/RustPython/RustPython |
|
Issues
276
| https://redirect.github.com/RustPython/RustPython/issues |
|
Pull requests
94
| https://redirect.github.com/RustPython/RustPython/pulls |
|
Discussions
| https://redirect.github.com/RustPython/RustPython/discussions |
|
Actions
| https://redirect.github.com/RustPython/RustPython/actions |
|
Projects
0
| https://redirect.github.com/RustPython/RustPython/projects |
|
Wiki
| https://redirect.github.com/RustPython/RustPython/wiki |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://redirect.github.com/RustPython/RustPython/security |
| Please reload this page | https://redirect.github.com/RustPython/RustPython/pull/6519 |
|
Insights
| https://redirect.github.com/RustPython/RustPython/pulse |
|
Code
| https://redirect.github.com/RustPython/RustPython |
|
Issues
| https://redirect.github.com/RustPython/RustPython/issues |
|
Pull requests
| https://redirect.github.com/RustPython/RustPython/pulls |
|
Discussions
| https://redirect.github.com/RustPython/RustPython/discussions |
|
Actions
| https://redirect.github.com/RustPython/RustPython/actions |
|
Projects
| https://redirect.github.com/RustPython/RustPython/projects |
|
Wiki
| https://redirect.github.com/RustPython/RustPython/wiki |
|
Security
| https://redirect.github.com/RustPython/RustPython/security |
|
Insights
| https://redirect.github.com/RustPython/RustPython/pulse |
| Sign up for GitHub
| https://redirect.github.com/signup?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://redirect.github.com/login?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://redirect.github.com/RustPython/RustPython/pull/6519#issue-comment-box |
| Copilot | https://redirect.github.com/apps/copilot-swe-agent |
| main | https://redirect.github.com/RustPython/RustPython/tree/main |
| copilot/add-module-state-management | https://redirect.github.com/RustPython/RustPython/tree/copilot/add-module-state-management |
|
Add per-module state handling and API to PyModule
| https://redirect.github.com/RustPython/RustPython/pull/6519#top |
| Copilot | https://redirect.github.com/apps/copilot-swe-agent |
| main | https://redirect.github.com/RustPython/RustPython/tree/main |
| copilot/add-module-state-management | https://redirect.github.com/RustPython/RustPython/tree/copilot/add-module-state-management |
|
Conversation
1
| https://redirect.github.com/RustPython/RustPython/pull/6519 |
|
Commits
4
| https://redirect.github.com/RustPython/RustPython/pull/6519/commits |
|
Checks
12
| https://redirect.github.com/RustPython/RustPython/pull/6519/checks |
|
Files changed
1
| https://redirect.github.com/RustPython/RustPython/pull/6519/files |
| https://github.co/hiddenchars |
| https://redirect.github.com/RustPython/RustPython/pull/{{ revealButtonHref }} |
|
| https://redirect.github.com/apps/copilot-swe-agent |
| Copilot | https://redirect.github.com/apps/copilot-swe-agent |
| Dec 25, 2025 | https://redirect.github.com/RustPython/RustPython/pull/6519#issue-3761762331 |
| Please reload this page | https://redirect.github.com/RustPython/RustPython/pull/6519 |
| @copilot | https://gh.io/copilot-coding-agent-docs |
| [RFC] module state for PyModule or builtin module #4054 | https://github.com/RustPython/RustPython/issues/4054 |
| set things up for you | https://github.com/RustPython/RustPython/issues/new?title=%E2%9C%A8+Set+up+Copilot+instructions&body=Configure%20instructions%20for%20this%20repository%20as%20documented%20in%20%5BBest%20practices%20for%20Copilot%20coding%20agent%20in%20your%20repository%5D%28https://gh.io/copilot-coding-agent-tips%29%2E%0A%0A%3COnboard%20this%20repo%3E&assignees=copilot |
| Please reload this page | https://redirect.github.com/RustPython/RustPython/pull/6519 |
|
| https://redirect.github.com/apps/copilot-swe-agent |
| Copilot | https://redirect.github.com/apps/copilot-swe-agent |
| Copilot | https://redirect.github.com/apps/copilot-swe-agent |
| youknowone | https://redirect.github.com/youknowone |
| Dec 25, 2025 | https://redirect.github.com/RustPython/RustPython/pull/6519#event-21749917721 |
| https://redirect.github.com/apps/coderabbitai |
| coderabbitai | https://redirect.github.com/apps/coderabbitai |
| Dec 25, 2025 | https://redirect.github.com/RustPython/RustPython/pull/6519#issuecomment-3691274735 |
| Please reload this page | https://redirect.github.com/RustPython/RustPython/pull/6519 |
| started work | https://github.com/copilot/tasks/pull/PR_kwDOCA8Bec66jOoh?session_id=c9e664b7-f216-4507-b979-6557222206ce |
| youknowone | https://redirect.github.com/youknowone |
| December 25, 2025 10:20 | https://redirect.github.com/RustPython/RustPython/pull/6519#event-21749932065 |
|
View session
| https://github.com/copilot/tasks/pull/PR_kwDOCA8Bec66jOoh?session_id=c9e664b7-f216-4507-b979-6557222206ce |
|
| https://redirect.github.com/apps/copilot-swe-agent |
| Copilot | https://redirect.github.com/apps/copilot-swe-agent |
| Dec 25, 2025 | https://redirect.github.com/RustPython/RustPython/pull/6519#event-21750180123 |
|
| https://redirect.github.com/apps/copilot-swe-agent |
| Copilot | https://redirect.github.com/apps/copilot-swe-agent |
| youknowone | https://redirect.github.com/youknowone |
| December 25, 2025 11:03 | https://redirect.github.com/RustPython/RustPython/pull/6519#event-21750180858 |
| finished work | https://github.com/copilot/tasks/pull/PR_kwDOCA8Bec66jOoh?session_id=c9e664b7-f216-4507-b979-6557222206ce |
| youknowone | https://redirect.github.com/youknowone |
| December 25, 2025 11:03 | https://redirect.github.com/RustPython/RustPython/pull/6519#event-21750180863 |
| Copilot | https://redirect.github.com/apps/copilot-swe-agent |
| December 26, 2025 10:56 | https://redirect.github.com/RustPython/RustPython/pull/6519#commits-pushed-b232420 |
|
| https://redirect.github.com/apps/copilot-swe-agent |
|
| https://redirect.github.com/youknowone |
| Initial plan | https://redirect.github.com/RustPython/RustPython/pull/6519/commits/b23242029ec02fddb28ba35933fa8d7f9a305cd3 |
| b232420 | https://redirect.github.com/RustPython/RustPython/pull/6519/commits/b23242029ec02fddb28ba35933fa8d7f9a305cd3 |
|
| https://redirect.github.com/apps/copilot-swe-agent |
|
| https://redirect.github.com/youknowone |
| Add module state storage to PyModule | https://redirect.github.com/RustPython/RustPython/pull/6519/commits/3c814450d3b2e16c443231ba67546f6a0f5b152b |
| 3c81445 | https://redirect.github.com/RustPython/RustPython/pull/6519/commits/3c814450d3b2e16c443231ba67546f6a0f5b152b |
|
| https://redirect.github.com/apps/copilot-swe-agent |
|
| https://redirect.github.com/youknowone |
| Refine module state helpers and docs | https://redirect.github.com/RustPython/RustPython/pull/6519/commits/5ee69bd2192feec326bfeef90fa1b7695f4a0bc6 |
| 5ee69bd | https://redirect.github.com/RustPython/RustPython/pull/6519/commits/5ee69bd2192feec326bfeef90fa1b7695f4a0bc6 |
|
| https://redirect.github.com/youknowone |
| module {get,set}_state | https://redirect.github.com/RustPython/RustPython/pull/6519/commits/71376f43665fe1d3659467ae7e86b62fc95cdda9 |
| 71376f4 | https://redirect.github.com/RustPython/RustPython/pull/6519/commits/71376f43665fe1d3659467ae7e86b62fc95cdda9 |
| https://redirect.github.com/youknowone |
| youknowone | https://redirect.github.com/youknowone |
| force-pushed | https://redirect.github.com/RustPython/RustPython/compare/9e4b5198f4f0dc16b1e6189f7aff19a07ad8a2ef..71376f43665fe1d3659467ae7e86b62fc95cdda9 |
| 9e4b519 | https://redirect.github.com/RustPython/RustPython/commit/9e4b5198f4f0dc16b1e6189f7aff19a07ad8a2ef |
| 71376f4 | https://redirect.github.com/RustPython/RustPython/commit/71376f43665fe1d3659467ae7e86b62fc95cdda9 |
|
Compare
| https://redirect.github.com/RustPython/RustPython/compare/9e4b5198f4f0dc16b1e6189f7aff19a07ad8a2ef..71376f43665fe1d3659467ae7e86b62fc95cdda9 |
| December 26, 2025 02:35 | https://redirect.github.com/RustPython/RustPython/pull/6519#event-21754494654 |
| Sign up for free | https://redirect.github.com/join?source=comment-repo |
| Sign in to comment | https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F6519 |
|
| https://redirect.github.com/youknowone |
|
youknowone
| https://redirect.github.com/youknowone |
|
| https://redirect.github.com/youknowone |
|
youknowone
| https://redirect.github.com/youknowone |
|
Copilot code review
| https://redirect.github.com/apps/copilot-swe-agent |
|
Copilot
| https://redirect.github.com/apps/copilot-swe-agent |
|
[RFC] module state for PyModule or builtin module
| https://github.com/RustPython/RustPython/issues/4054 |
| Please reload this page | https://redirect.github.com/RustPython/RustPython/pull/6519 |
|
| https://redirect.github.com/apps/copilot-swe-agent |
|
| https://redirect.github.com/youknowone |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |