René's URL Explorer Experiment


Title: initial sandbox by youknowone · Pull Request #7035 · RustPython/RustPython · GitHub

Open Graph Title: initial sandbox by youknowone · Pull Request #7035 · RustPython/RustPython

X Title: initial sandbox by youknowone · Pull Request #7035 · RustPython/RustPython

Description: #4210 Summary by CodeRabbit New Features Introduced a host vs sandbox runtime mode: many stdlib modules (os, socket, signal, file I/O, ssl, etc.) are now available only in host mode; sandbox mode is restricted. Added a lightweight sandbox stdio implementation for non-host environments. Tests / Chores CI now validates sandbox builds and runs a new sandbox smoke test to verify runtime behavior.

Open Graph Description: #4210 Summary by CodeRabbit New Features Introduced a host vs sandbox runtime mode: many stdlib modules (os, socket, signal, file I/O, ssl, etc.) are now available only in host mode; sandbox mo...

X Description: #4210 Summary by CodeRabbit New Features Introduced a host vs sandbox runtime mode: many stdlib modules (os, socket, signal, file I/O, ssl, etc.) are now available only in host mode; sandbox mo...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:42378f8b-7da1-f067-40d2-afee06a66783
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCD68:3F5ED:136A876:198364C:6A5C5676
html-safe-nonce311c5600c67525644983b2d4f5c1031d8fba465312555e7957883f89c3b8b85f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDY4OjNGNUVEOjEzNkE4NzY6MTk4MzY0Qzo2QTVDNTY3NiIsInZpc2l0b3JfaWQiOiI4NDg0MzM4Njk1MzQ4NzA0ODg2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac24c469cffdb55e37b122b50088cde7e4fdb16a72c6df2045f568abb461248ebe
hovercard-subject-tagpull_request:3257356258
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/7035/files
twitter:imagehttps://avatars.githubusercontent.com/u/69878?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/69878?s=400&v=4
og:image:alt#4210 Summary by CodeRabbit New Features Introduced a host vs sandbox runtime mode: many stdlib modules (os, socket, signal, file I/O, ssl, etc.) are now available only in host mode; sandbox mo...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/7035/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F7035%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F7035%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=RustPython%2FRustPython
Reloadhttps://github.com/RustPython/RustPython/pull/7035/files
Reloadhttps://github.com/RustPython/RustPython/pull/7035/files
Reloadhttps://github.com/RustPython/RustPython/pull/7035/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7035/files
RustPython https://github.com/RustPython
RustPythonhttps://github.com/RustPython/RustPython
Notifications https://github.com/login?return_to=%2FRustPython%2FRustPython
Fork 1.5k https://github.com/login?return_to=%2FRustPython%2FRustPython
Star 22.2k https://github.com/login?return_to=%2FRustPython%2FRustPython
Code https://github.com/RustPython/RustPython
Issues 291 https://github.com/RustPython/RustPython/issues
Pull requests 105 https://github.com/RustPython/RustPython/pulls
Discussions https://github.com/RustPython/RustPython/discussions
Actions https://github.com/RustPython/RustPython/actions
Projects https://github.com/RustPython/RustPython/projects
Models https://github.com/RustPython/RustPython/models
Wiki https://github.com/RustPython/RustPython/wiki
Security and quality 0 https://github.com/RustPython/RustPython/security
Insights https://github.com/RustPython/RustPython/pulse
Code https://github.com/RustPython/RustPython
Issues https://github.com/RustPython/RustPython/issues
Pull requests https://github.com/RustPython/RustPython/pulls
Discussions https://github.com/RustPython/RustPython/discussions
Actions https://github.com/RustPython/RustPython/actions
Projects https://github.com/RustPython/RustPython/projects
Models https://github.com/RustPython/RustPython/models
Wiki https://github.com/RustPython/RustPython/wiki
Security and quality https://github.com/RustPython/RustPython/security
Insights https://github.com/RustPython/RustPython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
youknowone:sandboxhttps://github.com/youknowone/RustPython/tree/sandbox
Conversation 14 https://github.com/RustPython/RustPython/pull/7035
Commits 2 https://github.com/RustPython/RustPython/pull/7035/commits
Checks 12 https://github.com/RustPython/RustPython/pull/7035/checks
Files changed https://github.com/RustPython/RustPython/pull/7035/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7035/files
initial sandbox https://github.com/RustPython/RustPython/pull/7035/files#top
Show all changes 2 commits https://github.com/RustPython/RustPython/pull/7035/files
dd10bf2 Add host_env feature for sandbox isolation youknowone Feb 8, 2026 https://github.com/RustPython/RustPython/pull/7035/commits/dd10bf277f8974be79788b45cb22eb547e2d4c35
aae539a Auto-format: ruff check --select I --fix github-actions[bot] Feb 8, 2026 https://github.com/RustPython/RustPython/pull/7035/commits/aae539a2bbb8c5fa43f9a9a176307b34120bccd4
Clear filters https://github.com/RustPython/RustPython/pull/7035/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7035/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7035/files
.cspell.json https://github.com/RustPython/RustPython/pull/7035/files#diff-4e0f175c840784de9e935f881821905c75a2a125aa57c51268a7fb4496edfbe6
ci.yaml https://github.com/RustPython/RustPython/pull/7035/files#diff-944291df2c9c06359d37cc8833d182d705c9e8c3108e7cfe132d61a06e9133dd
Cargo.toml https://github.com/RustPython/RustPython/pull/7035/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
Cargo.toml https://github.com/RustPython/RustPython/pull/7035/files#diff-206ca536c8a0e972ae8dd6a3c7f1b87f2cf39bc248bc1ea0735ef140ab4b290c
lib.rs https://github.com/RustPython/RustPython/pull/7035/files#diff-6fa56f9fbde7b1990897c70681fff48d9644f6343b011083698dbdf4279f1916
Cargo.toml https://github.com/RustPython/RustPython/pull/7035/files#diff-ccc3290f8eb6dbc476c8aad5c1586bf96837946b852e683ee8f21e4df91dc140
exceptions.rs https://github.com/RustPython/RustPython/pull/7035/files#diff-f527bc3e68302079a32d6da36816531e3e22dd31ff91ef0ff0f2688673712747
import.rs https://github.com/RustPython/RustPython/pull/7035/files#diff-fdf183809931dc08d13609a0577f60effd521a60f8659606569d495720eb97d3
lib.rs https://github.com/RustPython/RustPython/pull/7035/files#diff-e4f24be92577844798ac7a19d67f9196de2e7877a3891e7a0d6fff9e5e3a9781
signal.rs https://github.com/RustPython/RustPython/pull/7035/files#diff-8f647854e4313a46abb2732c90b0e631a66a98d32423bbe1f306db05ab4e72de
io.rs https://github.com/RustPython/RustPython/pull/7035/files#diff-4535792dadc3acb6b6f66f9220e61553918c1468a58dcf3f1d1473e3032b1446
mod.rs https://github.com/RustPython/RustPython/pull/7035/files#diff-5ef3107a41920f6fa3ac6749b8701b4a278dba5ad37e12488de9cfd22688dc49
os.rs https://github.com/RustPython/RustPython/pull/7035/files#diff-3a1b2246dc47369778bf6889ee62be670eee468a599dee319ca981ead50d686a
sys.rs https://github.com/RustPython/RustPython/pull/7035/files#diff-e7f7c10b81f88d7af77af76257284e18e72ed9da63ff63675a9e9cb31c8d262d
thread.rs https://github.com/RustPython/RustPython/pull/7035/files#diff-c170ae4a919bb65dc874267572bcc769c93aecc88705e9c1166dd6ad65ddb694
mod.rs https://github.com/RustPython/RustPython/pull/7035/files#diff-fe30ecf7c6b462e46e0874a55a05ea0edba83cefad5ac7a86e7137fa8f86ba74
python_run.rs https://github.com/RustPython/RustPython/pull/7035/files#diff-ff5741056db5c8cfe1e330b23fb0ff523b4c9dcd7c4d86e3383d6abdba80713c
sandbox_smoke.py https://github.com/RustPython/RustPython/pull/7035/files#diff-f0f6f49e2f68d0aea30728cd68ec855373701741ad9a523094758f0405e41dbe
lib.rs https://github.com/RustPython/RustPython/pull/7035/files#diff-b1a35a68f14e696205874893c07fd24fdb88882b47c23cc0e0c80a30c7d53759
.cspell.jsonhttps://github.com/RustPython/RustPython/pull/7035/files#diff-4e0f175c840784de9e935f881821905c75a2a125aa57c51268a7fb4496edfbe6
View file https://github.com/youknowone/RustPython/blob/aae539a2bbb8c5fa43f9a9a176307b34120bccd4/.cspell.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/7035/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/7035/files#diff-4e0f175c840784de9e935f881821905c75a2a125aa57c51268a7fb4496edfbe6
https://github.com/RustPython/RustPython/pull/7035/files#diff-4e0f175c840784de9e935f881821905c75a2a125aa57c51268a7fb4496edfbe6
.github/workflows/ci.yamlhttps://github.com/RustPython/RustPython/pull/7035/files#diff-944291df2c9c06359d37cc8833d182d705c9e8c3108e7cfe132d61a06e9133dd
View file https://github.com/youknowone/RustPython/blob/aae539a2bbb8c5fa43f9a9a176307b34120bccd4/.github/workflows/ci.yaml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/7035/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/7035/files#diff-944291df2c9c06359d37cc8833d182d705c9e8c3108e7cfe132d61a06e9133dd
https://github.com/RustPython/RustPython/pull/7035/files#diff-944291df2c9c06359d37cc8833d182d705c9e8c3108e7cfe132d61a06e9133dd
https://github.com/RustPython/RustPython/pull/7035/files#diff-944291df2c9c06359d37cc8833d182d705c9e8c3108e7cfe132d61a06e9133dd
coderabbitaihttps://github.com/apps/coderabbitai
Feb 8, 2026https://github.com/RustPython/RustPython/pull/7035/files#r2779245531
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7035/files
https://github.com/RustPython/RustPython/pull/7035/files#diff-944291df2c9c06359d37cc8833d182d705c9e8c3108e7cfe132d61a06e9133dd
Cargo.tomlhttps://github.com/RustPython/RustPython/pull/7035/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
View file https://github.com/youknowone/RustPython/blob/aae539a2bbb8c5fa43f9a9a176307b34120bccd4/Cargo.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/7035/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/7035/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
https://github.com/RustPython/RustPython/pull/7035/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
crates/stdlib/Cargo.tomlhttps://github.com/RustPython/RustPython/pull/7035/files#diff-206ca536c8a0e972ae8dd6a3c7f1b87f2cf39bc248bc1ea0735ef140ab4b290c
View file https://github.com/youknowone/RustPython/blob/aae539a2bbb8c5fa43f9a9a176307b34120bccd4/crates/stdlib/Cargo.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/7035/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/7035/files#diff-206ca536c8a0e972ae8dd6a3c7f1b87f2cf39bc248bc1ea0735ef140ab4b290c
https://github.com/RustPython/RustPython/pull/7035/files#diff-206ca536c8a0e972ae8dd6a3c7f1b87f2cf39bc248bc1ea0735ef140ab4b290c
crates/stdlib/src/lib.rshttps://github.com/RustPython/RustPython/pull/7035/files#diff-6fa56f9fbde7b1990897c70681fff48d9644f6343b011083698dbdf4279f1916
View file https://github.com/youknowone/RustPython/blob/aae539a2bbb8c5fa43f9a9a176307b34120bccd4/crates/stdlib/src/lib.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/7035/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/7035/files#diff-6fa56f9fbde7b1990897c70681fff48d9644f6343b011083698dbdf4279f1916
https://github.com/RustPython/RustPython/pull/7035/files#diff-6fa56f9fbde7b1990897c70681fff48d9644f6343b011083698dbdf4279f1916
https://github.com/RustPython/RustPython/pull/7035/files#diff-6fa56f9fbde7b1990897c70681fff48d9644f6343b011083698dbdf4279f1916
https://github.com/RustPython/RustPython/pull/7035/files#diff-6fa56f9fbde7b1990897c70681fff48d9644f6343b011083698dbdf4279f1916
crates/vm/Cargo.tomlhttps://github.com/RustPython/RustPython/pull/7035/files#diff-ccc3290f8eb6dbc476c8aad5c1586bf96837946b852e683ee8f21e4df91dc140
View file https://github.com/youknowone/RustPython/blob/aae539a2bbb8c5fa43f9a9a176307b34120bccd4/crates/vm/Cargo.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/7035/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/7035/files#diff-ccc3290f8eb6dbc476c8aad5c1586bf96837946b852e683ee8f21e4df91dc140
https://github.com/RustPython/RustPython/pull/7035/files#diff-ccc3290f8eb6dbc476c8aad5c1586bf96837946b852e683ee8f21e4df91dc140
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7035/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7035/files
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.