Skip to content

Use new REPL for wasm demo #124621

Closed
Closed

Description

@treyhunner

Feature or enhancement

Proposal:

The WASM demo in Tools/wasm was very useful for getting a Python REPL setup working in my web app.

It would be wonderful if that demo could be updated to work with the new Python 3.13 REPL (pyrepl).
I believe this would require a change to the way the file streams are handled (stdin specifically) though I'm not currently certain how to make that change.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Activity

  1. added a commit that references this issue on Jul 22, 2025
  2. added 2 commits that reference this issue on Jul 22, 2025
  3. added a commit that references this issue on Jul 22, 2025
  4. added a commit that references this issue on Jul 22, 2025
  5. added a commit that references this issue on Jul 22, 2025
  6. added 2 commits that reference this issue on Jul 22, 2025
  7. ambv commented on Jul 22, 2025

    @ambv
    Contributor

    Fixed for 3.14.0RC1 and newer.

  8. added a commit that references this issue on Jul 22, 2025
  9. treyhunner commented on Jul 22, 2025

    @treyhunner
    MemberAuthor

    Fixed for 3.14.0RC1 and newer.

    Exciting!

    I tried to build 3.14.0rc1 for Emscripten and ran into some issues: #137025. I fixed the first one (haven't opened a PR yet) but haven't figured out the second one yet.

  10. added a commit that references this issue on Jul 24, 2025
  11. added a commit that references this issue on Jul 24, 2025
  12. added a commit that references this issue on Jul 29, 2025
  13. added 5 commits that reference this issue on Aug 4, 2025
  14. added 5 commits that reference this issue on Aug 19, 2025
  15. added 3 commits that reference this issue on Sep 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-wasibuildThe build process and cross-buildtopic-replRelated to the interactive shelltype-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions