Title: Add `sys._wasi_info` · Issue #158628 · python/cpython · GitHub
Open Graph Title: Add `sys._wasi_info` · Issue #158628 · python/cpython
X Title: Add `sys._wasi_info` · Issue #158628 · python/cpython
Description: Feature or enhancement It should probably cover: WASI version (p1, etc. as done by Rust) Full WASI SDK version Whether cooperative multithreading was compiled in os.uname().machine tells you whether it's wasm32 or 64, so this will be eno...
Open Graph Description: Feature or enhancement It should probably cover: WASI version (p1, etc. as done by Rust) Full WASI SDK version Whether cooperative multithreading was compiled in os.uname().machine tells you whethe...
X Description: Feature or enhancement It should probably cover: WASI version (p1, etc. as done by Rust) Full WASI SDK version Whether cooperative multithreading was compiled in os.uname().machine tells you whethe...
Opengraph URL: https://github.com/python/cpython/issues/158628
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add `sys._wasi_info`","articleBody":"### Feature or enhancement\n\nIt should probably cover:\n\n- WASI version (`p1`, etc. as [done by Rust](https://bytecodealliance.zulipchat.com/#narrow/channel/394175-SIG-Guest-Languages/topic/Testing.20Python.20in.20wasi-libc.27s.20CI/near/613061764))\n- Full WASI SDK version\n- Whether cooperative multithreading was compiled in\n\n`os.uname().machine` tells you whether it's wasm32 or 64, so this will be enough to calculate the host triple used for compiling.\n\n### Has this already been discussed elsewhere?\n\nThis is a minor feature, which does not need previous discussion elsewhere\n\n### Links to previous discussion of this feature:\n\nhttps://bytecodealliance.zulipchat.com/#narrow/channel/394175-SIG-Guest-Languages/topic/Testing.20Python.20in.20wasi-libc.27s.20CI/near/612185469\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-159039\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/brettcannon","@type":"Person","name":"brettcannon"},"datePublished":"2026-10-02T22:42:17Z","url":"https://github.com/python/cpython/issues/158628"}
| 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 | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4e34dc37-e641-ba77-f038-1209a20563d6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9EEC:1F87:4BFAC1:5F5978:6B020F5D |
| html-safe-nonce | 8ec5a0b404aaca4756ef27ac98a68e95555077751e1144169d21f0459604fe83 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RUVDOjFGODc6NEJGQUMxOjVGNTk3ODo2QjAyMEY1RCIsInZpc2l0b3JfaWQiOiI2NDAxMDg3NDkwMTU3MDU1ODM3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | eaacd134a533a6a72bb99a38cbc9e07387ae2ee07b3d136f37d168161ff507cb |
| hovercard-subject-tag | issue:5684302249 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/158628/issue_layout |
| twitter:image | https://opengraph.githubassets.com/00409bce1c612bae588a3d1666910e4bc56b5fdd939ab60249061f7952b4c056/python/cpython/issues/158628 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/00409bce1c612bae588a3d1666910e4bc56b5fdd939ab60249061f7952b4c056/python/cpython/issues/158628 |
| og:image:alt | Feature or enhancement It should probably cover: WASI version (p1, etc. as done by Rust) Full WASI SDK version Whether cooperative multithreading was compiled in os.uname().machine tells you whethe... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | brettcannon |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width