GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GH-158628: Implement `sys._wasi_info` by brettcannon · Pull Request #159039 · python/cpython

Conversation

@brettcannon

@brettcannon brettcannon commented Oct 8, 2026 •
edited by bedevere-app Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member
  • Issue: Add sys._wasi_info #158628

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

ricochet reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@brettcannon
brettcannon requested a review from ericsnowcurrently as a code owner October 8, 2026 19:00
@brettcannon brettcannon added type-feature A feature request or enhancement OS-wasi labels Oct 8, 2026
@brettcannon brettcannon self-assigned this Oct 8, 2026
@bedevere-app bedevere-app Bot mentioned this pull request Oct 8, 2026
Add sys._wasi_info #158628
Closed
@bedevere-app bedevere-app Bot added the awaiting core review label Oct 8, 2026
@brettcannon
brettcannon requested review from emmatyping and savannahostrowski October 8, 2026 19:01
@read-the-docs-community

read-the-docs-community Bot commented Oct 8, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #35130446 | 📁 Comparing 6dbd59b against main (e2c3c7e)

  🔍 Preview build  

85 files changed · ± 85 modified

± Modified

  • index.html
  • _static/tachyon-example-heatmap.html
  • builtins/functions.html
  • builtins/stdtypes.html
  • c-api/bytes.html
  • c-api/capsule.html
  • c-api/complex.html
  • c-api/import.html
  • c-api/init_config.html
  • c-api/interp-lifecycle.html
  • and 75 more...
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@brettcannon
brettcannon requested a review from hoodmane October 8, 2026 19:29
@brettcannon

brettcannon commented Oct 8, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author

Adding @hoodmane as a reviewer to make sure the mimalloc fix is correct (and in case Hood happens to have an opinion overall).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

hoodmane
hoodmane reviewed Oct 9, 2026
View reviewed changes
Comment thread Include/internal/mimalloc/mimalloc/internal.h Resolved

Uh oh!

There was an error while loading. Please reload this page.

hoodmane
hoodmane reviewed Oct 9, 2026
View reviewed changes
Comment thread Python/marshal.c Resolved

Uh oh!

There was an error while loading. Please reload this page.

hoodmane
hoodmane approved these changes Oct 9, 2026
View reviewed changes

@hoodmane hoodmane left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks @brettcannon.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
savannahostrowski
savannahostrowski reviewed Oct 12, 2026
View reviewed changes
Comment thread Python/sysmodule.c Resolved

Uh oh!

There was an error while loading. Please reload this page.

savannahostrowski
savannahostrowski approved these changes Oct 13, 2026
View reviewed changes

@savannahostrowski savannahostrowski left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for clarifying! LGTM!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

brettcannon reacted with heart emoji
All reactions
  • ❤️ 1 reaction
@bedevere-app bedevere-app Bot added awaiting merge and removed awaiting core review labels Oct 13, 2026
brettcannon added 4 commits October 13, 2026 16:24
@brettcannon
pythonGH-158628: Implement sys._wasi_info
9140c56
@brettcannon
Don't define __wasi__ when under Emscripten
7aae26c
@brettcannon
Fix a platform assumption in marshal
5812b55
@brettcannon
Clarify when various macros come into play
6dbd59b
@brettcannon
brettcannon force-pushed the wasi-info branch from ed33b1c to 6dbd59b Compare October 13, 2026 23:24
@brettcannon
brettcannon enabled auto-merge (squash) October 13, 2026 23:26
@brettcannon
brettcannon merged commit 084aff8 into python:main Oct 13, 2026
55 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@brettcannon
brettcannon deleted the wasi-info branch October 13, 2026 23:53
@bedevere-app bedevere-app Bot removed the awaiting merge label Oct 13, 2026
corona10 added a commit to corona10/cpython that referenced this pull request Oct 22, 2026
@corona10
Use __wasm__ in marshal.c now that mimalloc no longer defines __wasi_…
d3cdd16
…_ on Emscripten (from pythonGH-159039)
corona10 added a commit to corona10/cpython that referenced this pull request Oct 22, 2026
@corona10
Use __wasm__ in marshal.c now that mimalloc no longer defines __wasi_…
51b0656
…_ on Emscripten (from pythonGH-159039)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@hoodmane hoodmane hoodmane approved these changes
@savannahostrowski savannahostrowski savannahostrowski approved these changes
@ericsnowcurrently ericsnowcurrently Awaiting requested review from ericsnowcurrently ericsnowcurrently is a code owner
@emmatyping emmatyping Awaiting requested review from emmatyping emmatyping is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@brettcannon brettcannon

Labels

OS-wasi type-feature A feature request or enhancement

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@brettcannon @hoodmane @savannahostrowski
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.