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
{{ message }}
Repository navigation
Emscripten build doesn't include _decimal, _uuid, _ssl or _hashlib #136976
For _hashlib, I think the issue also occurs in WASI. I'm currently doing some thing with hashlib but I get this: "checking whether compiling and linking against OpenSSL works... no".
changed the title [-]Emscripten build doesn't include decimal, uuid, openssl, or hashlib[/-][+]Emscripten build doesn't include `_decimal`, `_uuid`, `_ssl` or `_hashlib`[/+]on Jul 22, 2025
Activity
skirpichev commentedon Jul 22, 2025
That's strange as the decimal module has pure-Python version. I was thinking about dropping one, but maybe that's the case it could be helpful.
hoodmane commentedon Jul 22, 2025
It has the pure Python version, just not the C version.
pythongh-136976: Emscripten: Add _decimal and libmpdec
picnixz commentedon Jul 22, 2025
For
_hashlib, I think the issue also occurs in WASI. I'm currently doing some thing with hashlib but I get this: "checking whether compiling and linking against OpenSSL works... no".[-]Emscripten build doesn't include decimal, uuid, openssl, or hashlib[/-][+]Emscripten build doesn't include `_decimal`, `_uuid`, `_ssl` or `_hashlib`[/+]hoodmane commentedon Jul 22, 2025
We're building hashlib and ssl in Pyodide, so it should be possible to use the same approach here for Emscripten.
gh-136976: Emscripten: Add _decimal and libmpdec (#136997)
pythongh-136976: Emscripten: Add _decimal and libmpdec (pythonGH-136997)
[3.14] gh-136976: Emscripten: Add _decimal and libmpdec (GH-136997) (#…
pythongh-136976: Emscripten: Add _decimal and libmpdec (python#136997)
pythongh-136976: Emscripten: Add _decimal and libmpdec (python#136997)
[3.14] pythongh-136976: Emscripten: Add _decimal and libmpdec (python…