You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
Activity
pythongh-124621: Emscripten: Fix regression in use-after-close error …
[3.14] gh-124621: Emscripten: Add support for async input devices (GH…
gh-124621: Emscripten: Support pyrepl in browser (GH-136931)
pythongh-124621: Emscripten: Support pyrepl in browser (pythonGH-136931)
[3.14] pythongh-124621: Emscripten: Support pyrepl in browser (python…
pythongh-124621: Emscripten: Fix __syscall_ioctl patch
[3.14] gh-124621: Emscripten: Support pyrepl in browser (GH-136931) (G…
gh-124621: Emscripten: Fix __syscall_ioctl patch (GH-136993)
ambv commentedon Jul 22, 2025
Fixed for 3.14.0RC1 and newer.
pythongh-124621: Emscripten: Add smoke test for using pyrepl in Chrome
treyhunner commentedon Jul 22, 2025
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.
gh-124621: Emscripten: Add smoke test for using pyrepl in Chrome (#13…
pythongh-124621: Emscripten: Add smoke test for using pyrepl in Chrome (
[3.14] gh-124621: Emscripten: Add smoke test for using pyrepl in Chro…
pythongh-124621: Emscripten: Add support for async input devices (pyt…
pythongh-124621: Emscripten: Fix regression in use-after-close error …
pythongh-124621: Emscripten: Support pyrepl in browser (pythonGH-136931)
pythongh-124621: Emscripten: Fix __syscall_ioctl patch (pythonGH-136993)
pythongh-124621: Emscripten: Add smoke test for using pyrepl in Chrome (
pythongh-124621: Emscripten: Add support for async input devices (pyt…
pythongh-124621: Emscripten: Fix regression in use-after-close error …
pythongh-124621: Emscripten: Support pyrepl in browser (pythonGH-136931)
pythongh-124621: Emscripten: Fix __syscall_ioctl patch (pythonGH-136993)
pythongh-124621: Emscripten: Add smoke test for using pyrepl in Chrome (
[3.14] pythongh-124621: Emscripten: Add support for async input devic…
[3.14] pythongh-124621: Emscripten: Support pyrepl in browser (python…
[3.14] pythongh-124621: Emscripten: Add smoke test for using pyrepl i…