Sure, but i was considering the cpython in the browser/webview/electron case where python modules are served as .wasm files, i'm about to do it for my port and pyodide already does.
It would make sense to provide the *simplest* environnement for cpython to serve its own components.
scientific cpython stack in the browser:
https://github.com/iodide-project/pyodide
python repl in the browser experiment:
http://pmpp.pagesperso-orange.fr/python_em.html
Also i think cpython in the browser could be be already beyond testing and so far provides the best sandboxing configuration available around :
"run python in a sandbox, not the opposite" ( quoting Victor Stinner ) |