| 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:d826e331-cdc4-a604-21ae-d47d15e88669 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8D0A:24D752:565972:7423CA:6B003170 |
| html-safe-nonce | f574a091dbe9874874b2bd96f886826365c2ef63d26a794f2d0aa0b7a7b0ba3a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDBBOjI0RDc1Mjo1NjU5NzI6NzQyM0NBOjZCMDAzMTcwIiwidmlzaXRvcl9pZCI6IjY4NDY5NTYxMzY4NzMwNzkxNTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b9e8446b6ee5cfdcf1951f286682a8c22ba501c2787a3a2639d1d793dd50a3a3 |
| hovercard-subject-tag | pull_request:4606971462 |
| 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/8788/files |
| twitter:image | https://avatars.githubusercontent.com/u/69878?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/69878?s=400&v=4 |
| og:image:alt | os/posix/nt still took open flags, wait/RTLD/SCHED/SEEK/PRIO names, and wasm errno numbers from libc or a three-constant Linux stub. Those names are shared with pyre, so they belong in host_env.
R... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0 |
| 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 | f3f3a43ca095cdea3abbb394112e971f9fdb94fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/RustPython/RustPython/pull/8788/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F8788%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%2F8788%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/8788/files |
| Reload | https://github.com/RustPython/RustPython/pull/8788/files |
| Reload | https://github.com/RustPython/RustPython/pull/8788/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 requests144 (144) | 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 |
| youknowone | https://github.com/youknowone |
| RustPython:main | https://github.com/RustPython/RustPython/tree/main |
| youknowone:host-env-open-flags | https://github.com/youknowone/RustPython/tree/host-env-open-flags |
|
Conversation
6
| https://github.com/RustPython/RustPython/pull/8788 |
|
Commits
6
| https://github.com/RustPython/RustPython/pull/8788/commits |
|
Checks
28
| https://github.com/RustPython/RustPython/pull/8788/checks |
|
Files changed
| https://github.com/RustPython/RustPython/pull/8788/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8788/files |
|
host_env: export O_* flags, wasm errno, and posix names
| https://github.com/RustPython/RustPython/pull/8788/files#top |
|
Show all changes
6 commits
| https://github.com/RustPython/RustPython/pull/8788/files |
|
fa2551e
host_env: export O_* flags and wasm errno
youknowone Sep 22, 2026
| https://github.com/RustPython/RustPython/pull/8788/commits/fa2551eaa1975fecfde4f9cc88c7010e364247a8 |
|
d3a812b
stdlib: take O_* open flags from host_env
youknowone Sep 22, 2026
| https://github.com/RustPython/RustPython/pull/8788/commits/d3a812bc38b31910879e4db2183000de000b6a7c |
|
8f7178e
host_env: export remaining posix integer names
youknowone Sep 22, 2026
| https://github.com/RustPython/RustPython/pull/8788/commits/8f7178e5149398a37cfa8c2785ff3e39e679cc78 |
|
29dcad8
stdlib: take remaining posix names from host_env
youknowone Sep 22, 2026
| https://github.com/RustPython/RustPython/pull/8788/commits/29dcad8758d76d3f7d418ee1cd9d19cd74c59e6a |
|
d7be5ed
host_env: define AT_EACCESS on Android
youknowone Sep 22, 2026
| https://github.com/RustPython/RustPython/pull/8788/commits/d7be5ed5a156bc45fff218c77f80e3f43ce1fb72 |
|
a22f50c
vm: gate stop_bit_set to tests
youknowone Sep 22, 2026
| https://github.com/RustPython/RustPython/pull/8788/commits/a22f50cd927fa527918bb853f1c72b860889c921 |
|
Clear filters
| https://github.com/RustPython/RustPython/pull/8788/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8788/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8788/files |
|
errno_wasm.rs
| https://github.com/RustPython/RustPython/pull/8788/files#diff-2b4bc3babe013f78ef884172abbf265bbda4352356ce29ded5c43db793bdecfe |
|
fcntl.rs
| https://github.com/RustPython/RustPython/pull/8788/files#diff-006c2f257dcc8f094d866c95b617bc462b5d04948e7cc9da6264e3f5025843f8 |
|
fileutils.rs
| https://github.com/RustPython/RustPython/pull/8788/files#diff-70d1bf37d9d92575484e3b8b9c47cfb1c5874a1bf545def2c971b0ff318a5749 |
|
io.rs
| https://github.com/RustPython/RustPython/pull/8788/files#diff-7def538d0e9f63d8eaa731a33e50a4a2152a1a98226a76fe893bb508179a7206 |
|
io_unsupported.rs
| https://github.com/RustPython/RustPython/pull/8788/files#diff-cd75750d8896b1bbaa3f8674ef7e0849d2851ef9768de84f3fa934107c316fcf |
|
msvcrt.rs
| https://github.com/RustPython/RustPython/pull/8788/files#diff-4859e8955a0916a82c3e8c70b0482e3f72836859eddee187ac0607c743b523db |
|
multiprocessing.rs
| https://github.com/RustPython/RustPython/pull/8788/files#diff-9ee6435592c8d14109537709e91a74c5ff51741026c609f01ee6ebc974d956cf |
|
nt.rs
| https://github.com/RustPython/RustPython/pull/8788/files#diff-3df76f567fd36f94f81724208d27173956cfd5ab3b89ae4ce94f5e2c28a61ce8 |
|
os.rs
| https://github.com/RustPython/RustPython/pull/8788/files#diff-8386eeda7531a21596cda0264432ca6be99373cd18eefa363578485488b1bcf9 |
|
posix.rs
| https://github.com/RustPython/RustPython/pull/8788/files#diff-c4d8d17cd194261af90a2541465d39d6a285b66572131399a8690bd4c7bd599a |
|
signal.rs
| https://github.com/RustPython/RustPython/pull/8788/files#diff-8f647854e4313a46abb2732c90b0e631a66a98d32423bbe1f306db05ab4e72de |
|
nt.rs
| https://github.com/RustPython/RustPython/pull/8788/files#diff-b6dbcd2c4153830809b8a9bda455dd41046ee3d8db21e0e79b636a15dde0d936 |
|
os.rs
| https://github.com/RustPython/RustPython/pull/8788/files#diff-3a1b2246dc47369778bf6889ee62be670eee468a599dee319ca981ead50d686a |
|
posix.rs
| https://github.com/RustPython/RustPython/pull/8788/files#diff-8a094b07fd40ee7a3b9e440782ded748539a5214c242b6b3438421fe0d616c6e |
|
interpreter.rs
| https://github.com/RustPython/RustPython/pull/8788/files#diff-2361f366cc46771907dbd3b09eb8b9c839e7f059710345f2265c1753862a1b20 |
| crates/host_env/src/errno_wasm.rs | https://github.com/RustPython/RustPython/pull/8788/files#diff-2b4bc3babe013f78ef884172abbf265bbda4352356ce29ded5c43db793bdecfe |
|
View file
| https://github.com/youknowone/RustPython/blob/a22f50cd927fa527918bb853f1c72b860889c921/crates/host_env/src/errno_wasm.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/8788/{{ revealButtonHref }} |
| coderabbitai | https://github.com/apps/coderabbitai |
| Sep 22, 2026 | https://github.com/RustPython/RustPython/pull/8788/files#r4076665220 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8788/files |
| crates/host_env/src/fcntl.rs | https://github.com/RustPython/RustPython/pull/8788/files#diff-006c2f257dcc8f094d866c95b617bc462b5d04948e7cc9da6264e3f5025843f8 |
|
View file
| https://github.com/youknowone/RustPython/blob/a22f50cd927fa527918bb853f1c72b860889c921/crates/host_env/src/fcntl.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/8788/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/8788/files#diff-006c2f257dcc8f094d866c95b617bc462b5d04948e7cc9da6264e3f5025843f8 |
|
| https://github.com/RustPython/RustPython/pull/8788/files#diff-006c2f257dcc8f094d866c95b617bc462b5d04948e7cc9da6264e3f5025843f8 |
| crates/host_env/src/fileutils.rs | https://github.com/RustPython/RustPython/pull/8788/files#diff-70d1bf37d9d92575484e3b8b9c47cfb1c5874a1bf545def2c971b0ff318a5749 |
|
View file
| https://github.com/youknowone/RustPython/blob/a22f50cd927fa527918bb853f1c72b860889c921/crates/host_env/src/fileutils.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/8788/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/8788/files#diff-70d1bf37d9d92575484e3b8b9c47cfb1c5874a1bf545def2c971b0ff318a5749 |
|
| https://github.com/RustPython/RustPython/pull/8788/files#diff-70d1bf37d9d92575484e3b8b9c47cfb1c5874a1bf545def2c971b0ff318a5749 |
| crates/host_env/src/io.rs | https://github.com/RustPython/RustPython/pull/8788/files#diff-7def538d0e9f63d8eaa731a33e50a4a2152a1a98226a76fe893bb508179a7206 |
|
View file
| https://github.com/youknowone/RustPython/blob/a22f50cd927fa527918bb853f1c72b860889c921/crates/host_env/src/io.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/8788/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/8788/files#diff-7def538d0e9f63d8eaa731a33e50a4a2152a1a98226a76fe893bb508179a7206 |
|
| https://github.com/RustPython/RustPython/pull/8788/files#diff-7def538d0e9f63d8eaa731a33e50a4a2152a1a98226a76fe893bb508179a7206 |
|
| https://github.com/RustPython/RustPython/pull/8788/files#diff-7def538d0e9f63d8eaa731a33e50a4a2152a1a98226a76fe893bb508179a7206 |
|
| https://github.com/RustPython/RustPython/pull/8788/files#diff-7def538d0e9f63d8eaa731a33e50a4a2152a1a98226a76fe893bb508179a7206 |
| crates/host_env/src/io_unsupported.rs | https://github.com/RustPython/RustPython/pull/8788/files#diff-cd75750d8896b1bbaa3f8674ef7e0849d2851ef9768de84f3fa934107c316fcf |
|
View file
| https://github.com/youknowone/RustPython/blob/a22f50cd927fa527918bb853f1c72b860889c921/crates/host_env/src/io_unsupported.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/8788/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/8788/files#diff-cd75750d8896b1bbaa3f8674ef7e0849d2851ef9768de84f3fa934107c316fcf |
|
| https://github.com/RustPython/RustPython/pull/8788/files#diff-cd75750d8896b1bbaa3f8674ef7e0849d2851ef9768de84f3fa934107c316fcf |
| crates/host_env/src/msvcrt.rs | https://github.com/RustPython/RustPython/pull/8788/files#diff-4859e8955a0916a82c3e8c70b0482e3f72836859eddee187ac0607c743b523db |
|
View file
| https://github.com/youknowone/RustPython/blob/a22f50cd927fa527918bb853f1c72b860889c921/crates/host_env/src/msvcrt.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/8788/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/8788/files#diff-4859e8955a0916a82c3e8c70b0482e3f72836859eddee187ac0607c743b523db |
|
| https://github.com/RustPython/RustPython/pull/8788/files#diff-4859e8955a0916a82c3e8c70b0482e3f72836859eddee187ac0607c743b523db |
| crates/host_env/src/multiprocessing.rs | https://github.com/RustPython/RustPython/pull/8788/files#diff-9ee6435592c8d14109537709e91a74c5ff51741026c609f01ee6ebc974d956cf |
|
View file
| https://github.com/youknowone/RustPython/blob/a22f50cd927fa527918bb853f1c72b860889c921/crates/host_env/src/multiprocessing.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/8788/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/8788/files#diff-9ee6435592c8d14109537709e91a74c5ff51741026c609f01ee6ebc974d956cf |
|
| https://github.com/RustPython/RustPython/pull/8788/files#diff-9ee6435592c8d14109537709e91a74c5ff51741026c609f01ee6ebc974d956cf |
| crates/host_env/src/nt.rs | https://github.com/RustPython/RustPython/pull/8788/files#diff-3df76f567fd36f94f81724208d27173956cfd5ab3b89ae4ce94f5e2c28a61ce8 |
|
View file
| https://github.com/youknowone/RustPython/blob/a22f50cd927fa527918bb853f1c72b860889c921/crates/host_env/src/nt.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/8788/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/8788/files#diff-3df76f567fd36f94f81724208d27173956cfd5ab3b89ae4ce94f5e2c28a61ce8 |
|
| https://github.com/RustPython/RustPython/pull/8788/files#diff-3df76f567fd36f94f81724208d27173956cfd5ab3b89ae4ce94f5e2c28a61ce8 |
|
| https://github.com/RustPython/RustPython/pull/8788/files#diff-3df76f567fd36f94f81724208d27173956cfd5ab3b89ae4ce94f5e2c28a61ce8 |
|
| https://github.com/RustPython/RustPython/pull/8788/files#diff-3df76f567fd36f94f81724208d27173956cfd5ab3b89ae4ce94f5e2c28a61ce8 |
| crates/host_env/src/os.rs | https://github.com/RustPython/RustPython/pull/8788/files#diff-8386eeda7531a21596cda0264432ca6be99373cd18eefa363578485488b1bcf9 |
|
View file
| https://github.com/youknowone/RustPython/blob/a22f50cd927fa527918bb853f1c72b860889c921/crates/host_env/src/os.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/8788/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/8788/files#diff-8386eeda7531a21596cda0264432ca6be99373cd18eefa363578485488b1bcf9 |
|
| https://github.com/RustPython/RustPython/pull/8788/files#diff-8386eeda7531a21596cda0264432ca6be99373cd18eefa363578485488b1bcf9 |
|
| https://github.com/RustPython/RustPython/pull/8788/files#diff-8386eeda7531a21596cda0264432ca6be99373cd18eefa363578485488b1bcf9 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8788/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8788/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 |