Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								85cabed260 
								
							 
						 
						
							
							
								
								gh-131152: Remove unused imports from Tools/{build,wasm} ( #131155 )  
							
							
							
						 
						
							2025-03-13 10:58:28 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hood Chatham 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								db1e5827c4 
								
							 
						 
						
							
							
								
								gh-127503: Improve tracebacks on Emscripten when there is a trap ( #131158 )  
							
							... 
							
							
							
							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. 
							
						 
						
							2025-03-13 08:28:15 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Agriya Khetarpal 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								e2064d6750 
								
							 
						 
						
							
							
								
								Emscripten: use better _Py_Version computation for worker module ( #129757 )  
							
							... 
							
							
							
							Use integer bit shifting instead of conversion to strings to compute Python version. 
							
						 
						
							2025-02-07 12:55:27 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hood Chatham 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								3b18af964d 
								
							 
						 
						
							
							
								
								gh-127629: Add ctypes to the Emscripten build ( #127683 )  
							
							... 
							
							
							
							Adds tooling to build libffi and add ctypes to the stdlib for Emscripten. 
							
						 
						
							2024-12-10 10:32:58 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hood Chatham 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								d8d12b37b5 
								
							 
						 
						
							
							
								
								gh-127503: Fix realpath handling in emscripten cli ( #127632 )  
							
							... 
							
							
							
							Corrects the handling of realpath on Linux. 
							
						 
						
							2024-12-09 10:03:11 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hood Chatham 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								5876063d06 
								
							 
						 
						
							
							
								
								gh-127503 Don't propagate native PATH to Emscripten Python ( #127633 )  
							
							... 
							
							
							
							Modifies the handling of PATH to ensure that native executables aren't picked
up when running under node. 
							
						 
						
							2024-12-09 10:01:37 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								0fc4063747 
								
							 
						 
						
							
							
								
								GH-127652: stop using --wasi preview2 in wasi.py (GH-127704)  
							
							... 
							
							
							
							It's only to use WASI 0.2 code to back preview1 APIs and is considered experimental anyway. 
							
						 
						
							2024-12-06 18:42:05 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hood Chatham 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								87faf0a9c4 
								
							 
						 
						
							
							
								
								gh-127503: Emscripten make Python.sh function as proper Python CLI ( #127506 )  
							
							... 
							
							
							
							Modifies the python.sh script to work on macOS, and adapt to recent emscripten changes. 
							
						 
						
							2024-12-05 08:44:50 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hood Chatham 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								2f1cee8477 
								
							 
						 
						
							
							
								
								gh-127111: Apply prettier formatter to Emscripten web example ( #127551 )  
							
							... 
							
							
							
							Cleaned up formatting (and a stray closing tag) of the web example HTML and JS. 
							
						 
						
							2024-12-05 08:25:06 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hood Chatham 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								bfb0788bfc 
								
							 
						 
						
							
							
								
								gh-127111: Emscripten Make web example work again ( #127113 )  
							
							... 
							
							
							
							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. 
							
						 
						
							2024-12-03 07:30:24 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hood Chatham 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								1629d2ca56 
								
							 
						 
						
							
							
								
								gh-126898: Emscripten support: Use es6 modules ( #126903 )  
							
							... 
							
							
							
							Modify Emscripten support to use ES6 modules. 
							
						 
						
							2024-11-21 15:10:46 +11:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hood Chatham 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								544b001b23 
								
							 
						 
						
							
							
								
								gh-126691: Remove --with-emscripten-target ( #126787 )  
							
							... 
							
							
							
							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. 
							
						 
						
							2024-11-16 09:44:05 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hood Chatham 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f8276bf5f3 
								
							 
						 
						
							
							
								
								gh-126187 Add emscripten.py script to automate emscripten build ( #126190 )  
							
							... 
							
							
							
							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. 
							
						 
						
							2024-11-09 10:12:55 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								bbe9b21d06 
								
							 
						 
						
							
							
								
								GH-123877: default to wasm32-wasip1 instead of wasm32-wasi to be more 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> 
							
						 
						
							2024-11-07 13:40:56 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hood Chatham 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								dc2552d429 
								
							 
						 
						
							
							
								
								gh-124928: Emscripten node support: Clean up old node <= 16 flags ( #124929 )  
							
							... 
							
							
							
							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. 
							
						 
						
							2024-10-29 06:28:54 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								66cc6d4c50 
								
							 
						 
						
							
							
								
								Remove some unused files related to WASM/WASI (GH-124635)  
							
							
							
						 
						
							2024-09-26 21:23:41 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								b15b81ed4f 
								
							 
						 
						
							
							
								
								GH-121634: have wasi.py accept the host target triple as an argument (GH-123030)  
							
							
							
						 
						
							2024-08-15 10:30:08 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f589f263bc 
								
							 
						 
						
							
							
								
								GH-120371: Add WASI SDK 22 support (GH-121870)  
							
							... 
							
							
							
							Required disabling stub functions now provided by wasi-libc. 
							
						 
						
							2024-07-16 20:00:39 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f62161837e 
								
							 
						 
						
							
							
								
								GH-121521: Detect when wasmtime is not installed in Tools/wasm/wasi.py (GH-121522)  
							
							
							
						 
						
							2024-07-09 15:08:01 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								6acf7776ef 
								
							 
						 
						
							
							
								
								gh-120507: Double WASI memory ( #120648 )  
							
							... 
							
							
							
							Use 16 MiB stack with 40 MiB memory limit, instead of 8 MiB stack
with 20 MiB memory limit. 
							
						 
						
							2024-06-17 16:08:05 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Katie Bell 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								010aaa32fb 
								
							 
						 
						
							
							
								
								gh-97747: Improvements to WASM browser REPL. ( #97665 )  
							
							... 
							
							
							
							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. 
							
						 
						
							2024-05-31 09:58:46 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Xie Yanbo 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								bf08f0a5fe 
								
							 
						 
						
							
							
								
								Fix typos in comments ( #119645 )  
							
							
							
						 
						
							2024-05-28 09:53:32 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Xie Yanbo 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								c618d53a3a 
								
							 
						 
						
							
							
								
								Fix typo in Tools/wasm/README.md( #118358 )  
							
							
							
						 
						
							2024-04-28 18:00:48 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								bc708c76d2 
								
							 
						 
						
							
							
								
								GH-116314: Update Tools/wasm/README.md to point to the devguide for building for WASI (GH-116445)  
							
							
							
						 
						
							2024-03-07 02:38:00 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								7af063d1d8 
								
							 
						 
						
							
							
								
								GH-116313: get WASI builds to run under wasmtime 18 w/ WASI 0.2/preview2 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` 
							
						 
						
							2024-03-05 09:18:53 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								5dc8c84d39 
								
							 
						 
						
							
							
								
								GH-115978: Disable *readv() and *writev() on WASI (GH-116228)  
							
							... 
							
							
							
							Wasmtime doesn't implement these functions in a way to pass test_posix (https://github.com/bytecodealliance/wasmtime/issues/7830 ). 
							
						 
						
							2024-03-01 16:52:12 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								18343c0985 
								
							 
						 
						
							
							
								
								GH-113516: don't set LDSHARED when building for WASI (GH-115495)  
							
							
							
						 
						
							2024-02-15 00:51:23 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Skip Montanaro 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								80734a6872 
								
							 
						 
						
							
							
								
								Update README.md ( #114974 )  
							
							... 
							
							
							
							Trivial edit
Co-authored-by: Carol Willing <carolcode@willingconsulting.com> 
							
						 
						
							2024-02-04 00:16:30 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								5cd9c6b1fc 
								
							 
						 
						
							
							
								
								Fix wasi.py build after adding the clean subcommand. ({GH-114447)  
							
							
							
						 
						
							2024-01-22 10:28:57 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								681e9e85a2 
								
							 
						 
						
							
							
								
								Add a clean subcommand to Tools/wasm/wasi.py (GH-114274)  
							
							
							
						 
						
							2024-01-19 11:38:52 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								03f7839703 
								
							 
						 
						
							
							
								
								GH-114013: fix setting HOSTRUNNER for Tools/wasm/wasi.py (GH-114097)  
							
							... 
							
							
							
							Also fix tests found failing under a pydebug build of WASI thanks to `make test` working due to this change. 
							
						 
						
							2024-01-16 11:36:41 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								482b0ee8f6 
								
							 
						 
						
							
							
								
								Clarify that WASI tool requirements are included in the devcontainer (GH-112561)  
							
							
							
						 
						
							2023-11-30 13:01:07 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								37589d76bb 
								
							 
						 
						
							
							
								
								GH-103065, GH-106704, GH-105253: Provide a Tools/wasm/wasi.py script to simplify doing a WASI build (GH-112473)  
							
							
							
						 
						
							2023-11-29 16:18:25 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								a46e960768 
								
							 
						 
						
							
							
								
								gh-109649: Use os.process_cpu_count() ( #110165 )  
							
							... 
							
							
							
							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. 
							
						 
						
							2023-10-01 03:14:57 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									OmniTroid 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								4390c13148 
								
							 
						 
						
							
							
								
								Fix argument ordering of embuilder command documented in Tools/wasm/README.md (GH-109863)  
							
							
							
						 
						
							2023-09-26 13:22:00 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nikita Sobolev 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f65497fd25 
								
							 
						 
						
							
							
								
								gh-109125: Run mypy on Tools/wasm ( #109126 )  
							
							
							
						 
						
							2023-09-18 23:49:26 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Gross 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								baaac99487 
								
							 
						 
						
							
							
								
								Fix invocation of wasm_build.py for node (GH-109383)  
							
							
							
						 
						
							2023-09-13 15:28:08 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eisuke Kawashima 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								64c0890b69 
								
							 
						 
						
							
							
								
								wasm: do not use inline comment in .editorconfig ( #106610 )  
							
							... 
							
							
							
							It is no longer valid since 0.15.0
https://github.com/editorconfig/specification/blob/v0.15/index.rst#no-inline-comments  
							
						 
						
							2023-07-11 23:55:37 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									YAMAMOTO Takashi 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								d8f87cdf94 
								
							 
						 
						
							
							
								
								gh-101538: Add experimental wasi-threads build ( #101537 )  
							
							... 
							
							
							
							Co-authored-by: Brett Cannon <brett@python.org>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 
							
						 
						
							2023-06-22 11:26:10 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								70dc2fb973 
								
							 
						 
						
							
							
								
								GH-102404, GH-100956: Document how to do a WASI build (GH-105251)  
							
							... 
							
							
							
							Also includes a reference shell script to implements what is documented. 
							
						 
						
							2023-06-02 15:15:41 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f66be6b11a 
								
							 
						 
						
							
							
								
								gh-104773: PEP 594: Remove the audioop module ( #104937 )  
							
							
							
						 
						
							2023-05-25 17:59:00 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								036da3bd43 
								
							 
						 
						
							
							
								
								gh-104773: PEP 594: Remove the aifc module ( #104933 )  
							
							... 
							
							
							
							* Remove .aifc and .aiff test files of Lib/test/audiodata/
* Remove Lib/test/Sine-1000Hz-300ms.aif test file 
							
						 
						
							2023-05-25 17:20:48 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								dbc8216f4c 
								
							 
						 
						
							
							
								
								gh-104773: PEP 594: Remove the uu module ( #104932 )  
							
							... 
							
							
							
							Doc/license.rst: Keep the UUencode and UUdecode license since it's
also used by the uu codec. 
							
						 
						
							2023-05-25 16:25:27 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								e4127eaa1e 
								
							 
						 
						
							
							
								
								gh-104773: PEP 594: Remove the crypt module ( #104908 )  
							
							... 
							
							
							
							Remove the crypt module and its private _crypt extension, deprecated
in Python 3.11. 
							
						 
						
							2023-05-25 15:45:46 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Zachary Ware 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								98c4333e88 
								
							 
						 
						
							
							
								
								gh-104773: Remove the msilib package (GH-104911)  
							
							
							
						 
						
							2023-05-24 20:06:00 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								087c1a6539 
								
							 
						 
						
							
							
								
								gh-104773: PEP 594: Remove the xdrlib module ( #104900 )  
							
							... 
							
							
							
							pickle documentation no longer mentions the XDR format. 
							
						 
						
							2023-05-25 00:40:30 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								17e1fe0f9b 
								
							 
						 
						
							
							
								
								gh-104773: PEP 594: Remove the nis module ( #104897 )  
							
							
							
						 
						
							2023-05-25 00:08:36 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								ded5f1f287 
								
							 
						 
						
							
							
								
								gh-104773: PEP 594: Remove the nntplib module ( #104894 )  
							
							... 
							
							
							
							* socket_helper.transient_internet() no longer imports nntplib to
  catch nntplib.NNTPTemporaryError.
* ssltests.py no longer runs test_nntplib.
* "make quicktest" no longer runs test_nntplib.
* WASM: remove nntplib from OMIT_NETWORKING_FILES.
* Remove mentions to nntplib in the email documentation. 
							
						 
						
							2023-05-24 21:15:43 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								9d457e1154 
								
							 
						 
						
							
							
								
								gh-104773: PEP 594: Remove the mailcap module ( #104867 )  
							
							... 
							
							
							
							Remove Lib/test/mailcap.txt test file. 
							
						 
						
							2023-05-24 14:16:55 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								a5e0f5b230 
								
							 
						 
						
							
							
								
								gh-104773: PEP 594: Remove the sunau module ( #104863 )  
							
							... 
							
							
							
							* Remove Lib/test/audiodata/pluck-*.au files.
* Remove Lib/test/audiotest.au file. 
							
						 
						
							2023-05-24 13:51:59 +00:00