Hood Chatham

Results 1082 comments of Hood Chatham

The `PYTHONWARNINGS` variable is only used at Python initialization, subsequent updates to it will be ignored. People could use `warnings.filterwarnings`. You could also use that in native Python but it...

@ryanking13 ideally it would be good to set these warnings to error on our core tests and not on the package tests. You have any idea what the best way...

> I suppose these env variables need to be passed at init, right (and setting them later has no effect)? That is correct.

I think it would be good to release an alpha first e.g., `0.20.1a1` so that if there are more dumb mistakes with the node/webpage stuff we can iron those out...

I think the webpack issue is tricky. Ideally webpack should not try to bundle `pyodide.asm.js`. But `pyodide.js` is the output of rollup so it's not clear how to get a...

These are separate files because Emscripten generates them that way. But we could switch to rolling up (or hopefully esbuilding soon) `pyodide.asm.js` into `pyodide.js`. I think Emscripten's loading logic expects...

> bases64 encoded ... a 30% bump in filesize Also an increase in load time and ram usage. See the [Emscripten docs](https://emscripten.org/docs/tools_reference/emcc.html#emcc-embed-file): > Embedding files is much less efficient than...

Yeah more or less. The other issue is that webpack thinks that node apis should be shimmed in the browser but most modules we load are node shims for browser...

Well I think the issue is that we didn't deploy all the packages to npm to reduce download size -- we didn't want to deploy 200+ mb to npm. Try...

Thanks for the info about the docs being wrong. In node v16.14.0 I don't get `RuntimeError: abort(undefined)`: ```js import { loadPyodide } from "pyodide/pyodide.mjs"; async function main(){ let pyodide =...