SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 0 Python

gh-124621: Emscripten: Support pyrepl in browser (GH-136931)

Basic support for pyrepl in Emscripten. Limitations:
* requires JSPI
* no signal handling implemented

As followup work, it would be nice to implement a webworker variant
for when JSPI is not available and proper signal handling.

Because it requires JSPI, it doesn't work in Safari. Firefox requires
setting an experimental flag. All the Chromiums have full support since
May. Until we make it work without JSPI, let's keep the original web_example
around.

Co-authored-by: Łukasz Langa <[email protected]>
Co-authored-by: Éric <[email protected]>
H
Hood Chatham committed
c933a6bb329bb97bc7e448388dad1b74f7ca4baa
Parent: 22c8658
Committed by GitHub <[email protected]> on 7/22/2025, 10:13:38 AM