Hood Chatham

Results 1082 comments of Hood Chatham

Remove `await pyodide.runPythonAsync(`. py-script tag expects Python, pyodide.runPythonAsync is JavaScript.

> we can make calling import pyodide_requests have a side effect of overriding import requests Namely by saying ```py import sys sys.modules["requests"] = pyodide_requests ```

This is related to #1503: Python reads from standard in and needs this to block. However, the browser is single threaded and doesn't have great support for blocking I/O. The...

Thanks @josephrocca! Much appreciated. We should probably update the docker image in sync with this change...

Worth noting that this is a 75% increase in the image size from 1.55GB to 2.73GB.

Pyodide 0.21.0 will come with fixes for a lot of this, but there is still more work to be done. The current status: * Micropip can load binary wheels *...

> addPackageEntry seems like a pretty trivial change Yup. Presumably we should also validate that the deps are already existing packages. And what about dependency overrides?

Can you run the following script and post the results printed (don't need the fatal error traceback part). ```js const {loadPyodide} = require("./pyodide.js"); globalThis.jsdepth = function jsdepth(){ let d =...

Try `sys.setrecursionlimit(800)` and then see where the error occurs. Using a depth of more than 800 is probably a bug too. For comparison I see: ``` Max JS depth: 13720...

If you set the value to 800 you still get RangeErrors?