| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f74742c2-fca5-ff16-4c69-ab50c8abe66c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CD20:3E418A:F93AB7:147F28E:6B01D7F8 |
| html-safe-nonce | 3f717d45b9ac7108927136b938bb4867745b62fb5a8a208ee1777ad91b8b5b7e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDIwOjNFNDE4QTpGOTNBQjc6MTQ3RjI4RTo2QjAxRDdGOCIsInZpc2l0b3JfaWQiOiI1MTUyOTYxMjY2NTY1ODk2MTg0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | eed745142d3799806c2a879bd1963caa70fc60ec42a7360566a7ee7d58acf680 |
| hovercard-subject-tag | pull_request:5337241338 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/9877/files |
| twitter:image | https://avatars.githubusercontent.com/u/336763669?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/336763669?s=400&v=4 |
| og:image:alt | Draft: do not merge yet
This is the native host_io stage of #9853. Its shared-core prerequisite #9869 has merged as b5b69df8704a2bee9f87cef09827b4ec59b5dc72. This PR targets main; the native commit... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/RustPython/RustPython/pull/9877/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F9877%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F9877%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 |
| Reload | https://github.com/RustPython/RustPython/pull/9877/files |
| Reload | https://github.com/RustPython/RustPython/pull/9877/files |
| Reload | https://github.com/RustPython/RustPython/pull/9877/files |
| RustPython | https://github.com/RustPython |
| RustPython | https://github.com/RustPython/RustPython |
| Code | https://github.com/RustPython/RustPython |
| Issues195 (195) | https://github.com/RustPython/RustPython/issues |
| Pull requests132 (132) | 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 |
| Wiki | https://github.com/RustPython/RustPython/wiki |
| Security and quality | https://github.com/RustPython/RustPython/security |
| Insights | https://github.com/RustPython/RustPython/insights |
| Sign up for GitHub
| https://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://github.com/login?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose |
| youknowdot | https://github.com/youknowdot |
| RustPython:main | https://github.com/RustPython/RustPython/tree/main |
| youknowdot:feat/native-capability-io-reconstruction | https://github.com/youknowdot/RustPython/tree/feat/native-capability-io-reconstruction |
|
Conversation
2
| https://github.com/RustPython/RustPython/pull/9877 |
|
Commits
3
| https://github.com/RustPython/RustPython/pull/9877/commits |
|
Checks
28
| https://github.com/RustPython/RustPython/pull/9877/checks |
|
Files changed
| https://github.com/RustPython/RustPython/pull/9877/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9877/files |
|
WIP: interpreter-owned native host_io capability backend
| https://github.com/RustPython/RustPython/pull/9877/files#top |
|
Show all changes
3 commits
| https://github.com/RustPython/RustPython/pull/9877/files |
|
d52a459
Reconstruct interpreter-owned native host_io backend
youknowdot Nov 16, 2026
| https://github.com/RustPython/RustPython/pull/9877/commits/d52a4592032e2fff2b595a16dbf3c86617787e7a |
|
5f330e1
Validate native capability regressions and enable Windows contract CI
youknowdot Nov 16, 2026
| https://github.com/RustPython/RustPython/pull/9877/commits/5f330e1e822a9dbf2a3d80da5c08609bf102525e |
|
d6bcc40
Pass ambient descriptors by value without copying native capability pins
youknowdot Nov 16, 2026
| https://github.com/RustPython/RustPython/pull/9877/commits/d6bcc40cab71a1ecef7096625ea01164d681f71d |
|
Clear filters
| https://github.com/RustPython/RustPython/pull/9877/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9877/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9877/files |
|
ci.yaml
| https://github.com/RustPython/RustPython/pull/9877/files#diff-944291df2c9c06359d37cc8833d182d705c9e8c3108e7cfe132d61a06e9133dd |
|
Cargo.lock
| https://github.com/RustPython/RustPython/pull/9877/files#diff-13ee4b2252c9e516a0547f2891aa2105c3ca71c6d7a1e682c69be97998dfc87e |
|
architecture.md
| https://github.com/RustPython/RustPython/pull/9877/files#diff-8d4241c91552afee17ac5a89fb63ddf4d710a6c9eb32c677510f4a54248033b1 |
|
Cargo.toml
| https://github.com/RustPython/RustPython/pull/9877/files#diff-ccc3290f8eb6dbc476c8aad5c1586bf96837946b852e683ee8f21e4df91dc140 |
|
build.rs
| https://github.com/RustPython/RustPython/pull/9877/files#diff-67ac5eaa5a403f9a86e3a45dc326069e361803d98a9816af58ca4263778f03cb |
|
exceptions.rs
| https://github.com/RustPython/RustPython/pull/9877/files#diff-f527bc3e68302079a32d6da36816531e3e22dd31ff91ef0ff0f2688673712747 |
|
import.rs
| https://github.com/RustPython/RustPython/pull/9877/files#diff-fdf183809931dc08d13609a0577f60effd521a60f8659606569d495720eb97d3 |
|
lib.rs
| https://github.com/RustPython/RustPython/pull/9877/files#diff-e4f24be92577844798ac7a19d67f9196de2e7877a3891e7a0d6fff9e5e3a9781 |
|
native_host_io.rs
| https://github.com/RustPython/RustPython/pull/9877/files#diff-06f77c62989c5aa1bd121fff6cd9fd309a3109bc7edb61022deb6631f6ce683f |
|
_io.rs
| https://github.com/RustPython/RustPython/pull/9877/files#diff-90825edc73ec293e0ed3b2dbed7f0a492b1f8e51c25747326089a912267bdd3e |
|
builtins.rs
| https://github.com/RustPython/RustPython/pull/9877/files#diff-ce8bd80bb61ce870dbf04415913693df814ebda260d3fc784b689a657e694ca3 |
|
sys.rs
| https://github.com/RustPython/RustPython/pull/9877/files#diff-e7f7c10b81f88d7af77af76257284e18e72ed9da63ff63675a9e9cb31c8d262d |
|
interpreter.rs
| https://github.com/RustPython/RustPython/pull/9877/files#diff-2361f366cc46771907dbd3b09eb8b9c839e7f059710345f2265c1753862a1b20 |
|
mod.rs
| https://github.com/RustPython/RustPython/pull/9877/files#diff-fe30ecf7c6b462e46e0874a55a05ea0edba83cefad5ac7a86e7137fa8f86ba74 |
|
vm_object.rs
| https://github.com/RustPython/RustPython/pull/9877/files#diff-8d455749c67df5f6030ce84784d39256f31f0bec713e953d171a27fd300d1d27 |
|
host_io.rs
| https://github.com/RustPython/RustPython/pull/9877/files#diff-a85ebc747642a986ff529ad081ea98b5830d0dc7081a0fae81c6db6f0f5b7517 |
|
guest_memory.rs
| https://github.com/RustPython/RustPython/pull/9877/files#diff-4847f8f3b46c9b905b697e12bc872090a96bc63e24903ddaf6778dd9ff7c0abe |
|
lib.rs
| https://github.com/RustPython/RustPython/pull/9877/files#diff-f8a7fc1e454eb0fe77abcb77f752994049a81af3934c2a93e0357329a829f7a4 |
| .github/workflows/ci.yaml | https://github.com/RustPython/RustPython/pull/9877/files#diff-944291df2c9c06359d37cc8833d182d705c9e8c3108e7cfe132d61a06e9133dd |
|
View file
| https://github.com/RustPython/RustPython/blob/d6bcc40cab71a1ecef7096625ea01164d681f71d/.github/workflows/ci.yaml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/9877/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/9877/files#diff-944291df2c9c06359d37cc8833d182d705c9e8c3108e7cfe132d61a06e9133dd |
|
| https://github.com/RustPython/RustPython/pull/9877/files#diff-944291df2c9c06359d37cc8833d182d705c9e8c3108e7cfe132d61a06e9133dd |
| Cargo.lock | https://github.com/RustPython/RustPython/pull/9877/files#diff-13ee4b2252c9e516a0547f2891aa2105c3ca71c6d7a1e682c69be97998dfc87e |
|
View file
| https://github.com/RustPython/RustPython/blob/d6bcc40cab71a1ecef7096625ea01164d681f71d/Cargo.lock |
|
Open in desktop
| https://desktop.github.com |
| how customized files appear on GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9877/files |
| architecture/architecture.md | https://github.com/RustPython/RustPython/pull/9877/files#diff-8d4241c91552afee17ac5a89fb63ddf4d710a6c9eb32c677510f4a54248033b1 |
|
View file
| https://github.com/RustPython/RustPython/blob/d6bcc40cab71a1ecef7096625ea01164d681f71d/architecture/architecture.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/9877/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/9877/files#diff-8d4241c91552afee17ac5a89fb63ddf4d710a6c9eb32c677510f4a54248033b1 |
|
| https://github.com/RustPython/RustPython/pull/9877/files#diff-8d4241c91552afee17ac5a89fb63ddf4d710a6c9eb32c677510f4a54248033b1 |
| crates/vm/Cargo.toml | https://github.com/RustPython/RustPython/pull/9877/files#diff-ccc3290f8eb6dbc476c8aad5c1586bf96837946b852e683ee8f21e4df91dc140 |
|
View file
| https://github.com/RustPython/RustPython/blob/d6bcc40cab71a1ecef7096625ea01164d681f71d/crates/vm/Cargo.toml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/9877/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/9877/files#diff-ccc3290f8eb6dbc476c8aad5c1586bf96837946b852e683ee8f21e4df91dc140 |
|
| https://github.com/RustPython/RustPython/pull/9877/files#diff-ccc3290f8eb6dbc476c8aad5c1586bf96837946b852e683ee8f21e4df91dc140 |
|
| https://github.com/RustPython/RustPython/pull/9877/files#diff-ccc3290f8eb6dbc476c8aad5c1586bf96837946b852e683ee8f21e4df91dc140 |
|
| https://github.com/RustPython/RustPython/pull/9877/files#diff-ccc3290f8eb6dbc476c8aad5c1586bf96837946b852e683ee8f21e4df91dc140 |
| crates/vm/build.rs | https://github.com/RustPython/RustPython/pull/9877/files#diff-67ac5eaa5a403f9a86e3a45dc326069e361803d98a9816af58ca4263778f03cb |
|
View file
| https://github.com/RustPython/RustPython/blob/d6bcc40cab71a1ecef7096625ea01164d681f71d/crates/vm/build.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/9877/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/9877/files#diff-67ac5eaa5a403f9a86e3a45dc326069e361803d98a9816af58ca4263778f03cb |
|
| https://github.com/RustPython/RustPython/pull/9877/files#diff-67ac5eaa5a403f9a86e3a45dc326069e361803d98a9816af58ca4263778f03cb |
| crates/vm/src/exceptions.rs | https://github.com/RustPython/RustPython/pull/9877/files#diff-f527bc3e68302079a32d6da36816531e3e22dd31ff91ef0ff0f2688673712747 |
|
View file
| https://github.com/RustPython/RustPython/blob/d6bcc40cab71a1ecef7096625ea01164d681f71d/crates/vm/src/exceptions.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/9877/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/9877/files#diff-f527bc3e68302079a32d6da36816531e3e22dd31ff91ef0ff0f2688673712747 |
|
| https://github.com/RustPython/RustPython/pull/9877/files#diff-f527bc3e68302079a32d6da36816531e3e22dd31ff91ef0ff0f2688673712747 |
|
| https://github.com/RustPython/RustPython/pull/9877/files#diff-f527bc3e68302079a32d6da36816531e3e22dd31ff91ef0ff0f2688673712747 |
| crates/vm/src/import.rs | https://github.com/RustPython/RustPython/pull/9877/files#diff-fdf183809931dc08d13609a0577f60effd521a60f8659606569d495720eb97d3 |
|
View file
| https://github.com/RustPython/RustPython/blob/d6bcc40cab71a1ecef7096625ea01164d681f71d/crates/vm/src/import.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/9877/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/9877/files#diff-fdf183809931dc08d13609a0577f60effd521a60f8659606569d495720eb97d3 |
|
| https://github.com/RustPython/RustPython/pull/9877/files#diff-fdf183809931dc08d13609a0577f60effd521a60f8659606569d495720eb97d3 |
|
| https://github.com/RustPython/RustPython/pull/9877/files#diff-fdf183809931dc08d13609a0577f60effd521a60f8659606569d495720eb97d3 |
|
| https://github.com/RustPython/RustPython/pull/9877/files#diff-fdf183809931dc08d13609a0577f60effd521a60f8659606569d495720eb97d3 |
|
| https://github.com/RustPython/RustPython/pull/9877/files#diff-fdf183809931dc08d13609a0577f60effd521a60f8659606569d495720eb97d3 |
|
| https://github.com/RustPython/RustPython/pull/9877/files#diff-fdf183809931dc08d13609a0577f60effd521a60f8659606569d495720eb97d3 |
|
| https://github.com/RustPython/RustPython/pull/9877/files#diff-fdf183809931dc08d13609a0577f60effd521a60f8659606569d495720eb97d3 |
|
| https://github.com/RustPython/RustPython/pull/9877/files#diff-fdf183809931dc08d13609a0577f60effd521a60f8659606569d495720eb97d3 |
|
| https://github.com/RustPython/RustPython/pull/9877/files#diff-fdf183809931dc08d13609a0577f60effd521a60f8659606569d495720eb97d3 |
| crates/vm/src/lib.rs | https://github.com/RustPython/RustPython/pull/9877/files#diff-e4f24be92577844798ac7a19d67f9196de2e7877a3891e7a0d6fff9e5e3a9781 |
|
View file
| https://github.com/RustPython/RustPython/blob/d6bcc40cab71a1ecef7096625ea01164d681f71d/crates/vm/src/lib.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/9877/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/9877/files#diff-e4f24be92577844798ac7a19d67f9196de2e7877a3891e7a0d6fff9e5e3a9781 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9877/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9877/files |
|
| 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 |