| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
(GH-133611)
Also remove Tools/wasm from mypy CI workflow
|
|
|
|
| |
Along the way, also move related files into their appropriate directories and update `.github/CODEOWNERS`.
|
|
|
|
|
| |
* gh-133259: Show path to python.sh script on successful build
* wasmtime -> (generic) wasm runtime
|
|
|
| |
Ensure that checks for system functions don't leak onto stdout on failure.
|
| |
|
|
|
|
| |
Removes an explicit check that sysconfigdata naming is correct, in favor of reporting at
runtime with the default mechanisms.
|
|
|
| |
Updates test skips to reflect capabilities of Emscripten 4.0.2.
|
| |
|
|
|
|
|
|
|
|
| |
Modifies the behavior of the interpreter on crash under Emscripten:
1. No Python traceback shown on segfault/trap
2. The JavaScript source line is shown
The JavaScript source line is super long and completely unenlightening,
whereas the Python traceback is very helpful.
|
|
|
| |
Use integer bit shifting instead of conversion to strings to compute Python version.
|
|
|
| |
Adds tooling to build libffi and add ctypes to the stdlib for Emscripten.
|
|
|
| |
Corrects the handling of realpath on Linux.
|
|
|
|
| |
Modifies the handling of PATH to ensure that native executables aren't picked
up when running under node.
|
|
|
| |
It's only to use WASI 0.2 code to back preview1 APIs and is considered experimental anyway.
|
|
|
| |
Modifies the python.sh script to work on macOS, and adapt to recent emscripten changes.
|
|
|
| |
Cleaned up formatting (and a stray closing tag) of the web example HTML and JS.
|
|
|
|
|
| |
Moves the Emscripten web example into a standalone folder, and updates
Makefile targets to build the web example. Instructions for usage have
also been added.
|
|
|
|
| |
Modify Emscripten support to use ES6 modules.
|
|
|
|
|
| |
This unifies the code for nodejs and the code for the browser. After this
commit, the browser example doesn't work; this will be fixed in a
subsequent update.
|
|
|
|
|
| |
Add emscripten.py script to automate emscripten build.
This is modeled heavily on `Tools/wasm/wasi.py`. This will form the basis of an Emscripten build bot.
|
|
|
|
|
|
|
|
|
| |
specific (GH-126552)
Eventually wasm32-wasi will represent WASI 1.0, and so it's currently deprecated so it can be used for that eventual purpose. wasm32-wasip1 is also more specific to what version of WASI is currently supported.
---------
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
|
|
|
|
|
|
| |
Clean up configure flags for old node versions
These flags are only needed for node <= 16. Node 16 has been end of life since
October of 2023.
|
| |
|
|
|
|
| |
(GH-123030)
|
|
|
| |
Required disabling stub functions now provided by wasi-libc.
|
|
|
|
| |
(GH-121522)
|
|
|
|
| |
Use 16 MiB stack with 40 MiB memory limit, instead of 8 MiB stack
with 20 MiB memory limit.
|
|
|
|
|
| |
Improvements to WASM browser REPL.
Adds a text box to write and run code outside the REPL, a stop button, and handling of Ctrl-D for EOF.
|
| |
|
| |
|
|
|
|
| |
building for WASI (GH-116445)
|
|
|
|
|
|
|
|
|
| |
primitives (#116327)
* GH-116313: get WASI builds to run under wasmtime 18 w/ WASI 0.2/preview2 primitives
* Add the configure changes
* Update `wasm_build.py`
|
|
|
| |
Wasmtime doesn't implement these functions in a way to pass test_posix (https://github.com/bytecodealliance/wasmtime/issues/7830).
|
| |
|
|
|
|
|
| |
Trivial edit
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
|
| |
|
| |
|
|
|
| |
Also fix tests found failing under a pydebug build of WASI thanks to `make test` working due to this change.
|
| |
|
|
|
|
| |
simplify doing a WASI build (GH-112473)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace os.cpu_count() with os.process_cpu_count() in modules:
* compileall
* concurrent.futures
* multiprocessing
Replace os.cpu_count() with os.process_cpu_count() in programs:
* _decimal deccheck.py test
* freeze.py
* multissltests.py
* python -m test (regrtest)
* wasm_build.py
Other changes:
* test.pythoninfo logs os.process_cpu_count().
* regrtest gets os.process_cpu_count() / os.cpu_count() in headers.
|
|
|
|
| |
`Tools/wasm/README.md` (GH-109863)
|
| |
|
| |
|
|
|
|
| |
It is no longer valid since 0.15.0
https://github.com/editorconfig/specification/blob/v0.15/index.rst#no-inline-comments
|
|
|
|
| |
Co-authored-by: Brett Cannon <brett@python.org>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
|
|
|
| |
Also includes a reference shell script to implements what is documented.
|
| |
|
|
|
|
| |
* Remove .aifc and .aiff test files of Lib/test/audiodata/
* Remove Lib/test/Sine-1000Hz-300ms.aif test file
|