René's URL Explorer Experiment


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&lt;O...

Opengraph URL: https://github.com/RustPython/RustPython/pull/6519

X: @github

direct link

Domain: togithub.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:56c32d08-e227-2a2b-c090-865f0fb500bf
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8B1C:2FB293:2AE47B:398978:6969D276
html-safe-nonce40ae65f671ac9177769b3fe6d25aeda49c9031473270e83c16f11620da973bb7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjFDOjJGQjI5MzoyQUU0N0I6Mzk4OTc4OjY5NjlEMjc2IiwidmlzaXRvcl9pZCI6IjgwMTcyOTMzMzAxMTE2NDgzNzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac45a9eb4426d2213984b87a56bd7aed2669ca4cd00951645e2934e1a73f97729e
hovercard-subject-tagpull_request:3129797153
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/RustPython/RustPython/6519/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/62ac502a9081a2283acec0eed70b7ab29ea3ac4f78b41a0f7c4a53383136c7bf/RustPython/RustPython/pull/6519
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/62ac502a9081a2283acec0eed70b7ab29ea3ac4f78b41a0f7c4a53383136c7bf/RustPython/RustPython/pull/6519
og:image:altThe 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameCopilot
hostnamegithub.com
expected-hostnamegithub.com
Noneacedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056
turbo-cache-controlno-preview
go-importgithub.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git
octolytics-dimension-user_id39710557
octolytics-dimension-user_loginRustPython
octolytics-dimension-repository_id135201145
octolytics-dimension-repository_nwoRustPython/RustPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id135201145
octolytics-dimension-repository_network_root_nwoRustPython/RustPython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release83c08c21cdda978090dc44364b71aa5bc6dcea79
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://togithub.com/RustPython/RustPython/pull/6519#start-of-content
https://togithub.com/
Sign in https://togithub.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F6519
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://togithub.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F6519
Sign up https://togithub.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
Reloadhttps://togithub.com/RustPython/RustPython/pull/6519
Reloadhttps://togithub.com/RustPython/RustPython/pull/6519
Reloadhttps://togithub.com/RustPython/RustPython/pull/6519
RustPython https://togithub.com/RustPython
RustPythonhttps://togithub.com/RustPython/RustPython
Notifications https://togithub.com/login?return_to=%2FRustPython%2FRustPython
Fork 1.4k https://togithub.com/login?return_to=%2FRustPython%2FRustPython
Star 21.7k https://togithub.com/login?return_to=%2FRustPython%2FRustPython
Code https://togithub.com/RustPython/RustPython
Issues 276 https://togithub.com/RustPython/RustPython/issues
Pull requests 90 https://togithub.com/RustPython/RustPython/pulls
Discussions https://togithub.com/RustPython/RustPython/discussions
Actions https://togithub.com/RustPython/RustPython/actions
Projects 0 https://togithub.com/RustPython/RustPython/projects
Wiki https://togithub.com/RustPython/RustPython/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://togithub.com/RustPython/RustPython/security
Please reload this pagehttps://togithub.com/RustPython/RustPython/pull/6519
Insights https://togithub.com/RustPython/RustPython/pulse
Code https://togithub.com/RustPython/RustPython
Issues https://togithub.com/RustPython/RustPython/issues
Pull requests https://togithub.com/RustPython/RustPython/pulls
Discussions https://togithub.com/RustPython/RustPython/discussions
Actions https://togithub.com/RustPython/RustPython/actions
Projects https://togithub.com/RustPython/RustPython/projects
Wiki https://togithub.com/RustPython/RustPython/wiki
Security https://togithub.com/RustPython/RustPython/security
Insights https://togithub.com/RustPython/RustPython/pulse
Sign up for GitHub https://togithub.com/signup?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://togithub.com/login?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://togithub.com/RustPython/RustPython/pull/6519#issue-comment-box
Copilothttps://togithub.com/apps/copilot-swe-agent
mainhttps://togithub.com/RustPython/RustPython/tree/main
copilot/add-module-state-managementhttps://togithub.com/RustPython/RustPython/tree/copilot/add-module-state-management
Add per-module state handling and API to PyModule https://togithub.com/RustPython/RustPython/pull/6519#top
Copilothttps://togithub.com/apps/copilot-swe-agent
mainhttps://togithub.com/RustPython/RustPython/tree/main
copilot/add-module-state-managementhttps://togithub.com/RustPython/RustPython/tree/copilot/add-module-state-management
Conversation 1 https://togithub.com/RustPython/RustPython/pull/6519
Commits 4 https://togithub.com/RustPython/RustPython/pull/6519/commits
Checks 12 https://togithub.com/RustPython/RustPython/pull/6519/checks
Files changed https://togithub.com/RustPython/RustPython/pull/6519/files
Please reload this pagehttps://togithub.com/RustPython/RustPython/pull/6519
https://github.co/hiddenchars
https://togithub.com/RustPython/RustPython/pull/{{ revealButtonHref }}
https://togithub.com/apps/copilot-swe-agent
Copilothttps://togithub.com/apps/copilot-swe-agent
Dec 25, 2025https://togithub.com/RustPython/RustPython/pull/6519#issue-3761762331
Please reload this pagehttps://togithub.com/RustPython/RustPython/pull/6519
@copilothttps://gh.io/copilot-coding-agent-docs
[RFC] module state for PyModule or builtin module #4054https://github.com/RustPython/RustPython/issues/4054
set things up for youhttps://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 pagehttps://togithub.com/RustPython/RustPython/pull/6519
https://togithub.com/apps/copilot-swe-agent
Copilothttps://togithub.com/apps/copilot-swe-agent
Copilothttps://togithub.com/apps/copilot-swe-agent
youknowonehttps://togithub.com/youknowone
Dec 25, 2025https://togithub.com/RustPython/RustPython/pull/6519#event-21749917721
https://togithub.com/apps/coderabbitai
coderabbitaihttps://togithub.com/apps/coderabbitai
Dec 25, 2025https://togithub.com/RustPython/RustPython/pull/6519#issuecomment-3691274735
Please reload this pagehttps://togithub.com/RustPython/RustPython/pull/6519
started workhttps://github.com/copilot/tasks/pull/PR_kwDOCA8Bec66jOoh?session_id=c9e664b7-f216-4507-b979-6557222206ce
youknowonehttps://togithub.com/youknowone
December 25, 2025 10:20https://togithub.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://togithub.com/apps/copilot-swe-agent
Copilothttps://togithub.com/apps/copilot-swe-agent
Dec 25, 2025https://togithub.com/RustPython/RustPython/pull/6519#event-21750180123
https://togithub.com/apps/copilot-swe-agent
Copilothttps://togithub.com/apps/copilot-swe-agent
youknowonehttps://togithub.com/youknowone
December 25, 2025 11:03https://togithub.com/RustPython/RustPython/pull/6519#event-21750180858
finished workhttps://github.com/copilot/tasks/pull/PR_kwDOCA8Bec66jOoh?session_id=c9e664b7-f216-4507-b979-6557222206ce
youknowonehttps://togithub.com/youknowone
December 25, 2025 11:03https://togithub.com/RustPython/RustPython/pull/6519#event-21750180863
Copilothttps://togithub.com/apps/copilot-swe-agent
December 26, 2025 10:56https://togithub.com/RustPython/RustPython/pull/6519#commits-pushed-b232420
https://togithub.com/apps/copilot-swe-agent
https://togithub.com/youknowone
Initial planhttps://togithub.com/RustPython/RustPython/pull/6519/commits/b23242029ec02fddb28ba35933fa8d7f9a305cd3
b232420https://togithub.com/RustPython/RustPython/pull/6519/commits/b23242029ec02fddb28ba35933fa8d7f9a305cd3
https://togithub.com/apps/copilot-swe-agent
https://togithub.com/youknowone
Add module state storage to PyModulehttps://togithub.com/RustPython/RustPython/pull/6519/commits/3c814450d3b2e16c443231ba67546f6a0f5b152b
3c81445https://togithub.com/RustPython/RustPython/pull/6519/commits/3c814450d3b2e16c443231ba67546f6a0f5b152b
https://togithub.com/apps/copilot-swe-agent
https://togithub.com/youknowone
Refine module state helpers and docshttps://togithub.com/RustPython/RustPython/pull/6519/commits/5ee69bd2192feec326bfeef90fa1b7695f4a0bc6
5ee69bdhttps://togithub.com/RustPython/RustPython/pull/6519/commits/5ee69bd2192feec326bfeef90fa1b7695f4a0bc6
https://togithub.com/youknowone
module {get,set}_statehttps://togithub.com/RustPython/RustPython/pull/6519/commits/71376f43665fe1d3659467ae7e86b62fc95cdda9
71376f4https://togithub.com/RustPython/RustPython/pull/6519/commits/71376f43665fe1d3659467ae7e86b62fc95cdda9
https://togithub.com/youknowone
youknowonehttps://togithub.com/youknowone
force-pushedhttps://togithub.com/RustPython/RustPython/compare/9e4b5198f4f0dc16b1e6189f7aff19a07ad8a2ef..71376f43665fe1d3659467ae7e86b62fc95cdda9
9e4b519https://togithub.com/RustPython/RustPython/commit/9e4b5198f4f0dc16b1e6189f7aff19a07ad8a2ef
71376f4https://togithub.com/RustPython/RustPython/commit/71376f43665fe1d3659467ae7e86b62fc95cdda9
Compare https://togithub.com/RustPython/RustPython/compare/9e4b5198f4f0dc16b1e6189f7aff19a07ad8a2ef..71376f43665fe1d3659467ae7e86b62fc95cdda9
December 26, 2025 02:35https://togithub.com/RustPython/RustPython/pull/6519#event-21754494654
Sign up for freehttps://togithub.com/join?source=comment-repo
Sign in to commenthttps://togithub.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F6519
https://togithub.com/youknowone
youknowone https://togithub.com/youknowone
https://togithub.com/youknowone
youknowone https://togithub.com/youknowone
Copilot code review https://togithub.com/apps/copilot-swe-agent
Copilot https://togithub.com/apps/copilot-swe-agent
[RFC] module state for PyModule or builtin module https://github.com/RustPython/RustPython/issues/4054
Please reload this pagehttps://togithub.com/RustPython/RustPython/pull/6519
https://togithub.com/apps/copilot-swe-agent
https://togithub.com/youknowone
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.