Skip to content

Conversation

HoKim98
Copy link
Contributor

@HoKim98 HoKim98 commented Sep 24, 2025

Hello, this PR just fixes an invalid config site reference of Tools/wasm/wasm_build.py.


📚 Documentation preview 📚: https://cpython-previews--139297.org.readthedocs.build/

miss-islington and others added 30 commits July 21, 2025 18:04
…ain modules (pythonGH-136846) (python#136940)

Pedantic rewording of why relative importing doesn't work in main modules (pythonGH-136846)

Pedantically reword the section about relative imports and main modules.
(cherry picked from commit 4b68289)

Co-authored-by: Josh Cannon <[email protected]>
…g pos-only (pythonGH-136812) (python#136944)

pythongh-136437: Document some `os.path` functions as requiring pos-only (pythonGH-136812)
(cherry picked from commit b5428bb)

Co-authored-by: sobolevn <[email protected]>
…components (pythonGH-136875) (python#136942)

pythonGH-136874: `url2pathname()`: discard query and fragment components (pythonGH-136875)

In `urllib.request.url2pathname()`, ignore any query or fragment components
in the given URL.
(cherry picked from commit 80b2d60)

Co-authored-by: Barney Gale <[email protected]>
…pos-only (pythonGH-136946) (python#136947)

pythongh-136437: Document `os.path.dirname` as accepting only pos-only (pythonGH-136946)
(cherry picked from commit 3224429)

Co-authored-by: sobolevn <[email protected]>
…s_tracing_threads` (pythonGH-136951) (python#136953)

pythongh-136870: fix data race in `PyThreadState_Clear` on `sys_tracing_threads` (pythonGH-136951)

In free-threading, multiple threads can be cleared concurrently as such the modifications on `sys_tracing_threads` should be done while holding the profile lock, otherwise it can race with other threads setting up profiling.
(cherry picked from commit f183996)

Co-authored-by: Kumar Aditya <[email protected]>
…ter initialization (pythonGH-136583) (pythonGH-136943)

pythongh-136421: Load `_datetime` static types during interpreter initialization (pythonGH-136583)

`_datetime` is a special module, because it's the only non-builtin C extension that contains static types. As such, it would initialize static types in the module's execution function, which can run concurrently. Since static type initialization is not thread-safe, this caused crashes. This fixes it by moving the initialization of `_datetime`'s static types to interpreter startup (where all other static types are initialized), which is already properly protected through other locks.
(cherry picked from commit a109606)

Co-authored-by: Peter Bierma <[email protected]>
…mscripten folder (pythonGH-136934) (python#136956)

Reorganises the large Emscripten-specific file into the Emscripten folder.
(cherry picked from commit bbe589f)

Co-authored-by: Hood Chatham <[email protected]>
…-136950) (python#136955)

pythongh-136170: Revert adding `ZipFile.data_offset` (pythonGH-136950)

* Revert "pythongh-84481: Make ZipFile.data_offset more robust (pythonGH-132178)"

This reverts commit 6cd1d6c.

* Revert "pythongh-84481: Add ZipFile.data_offset attribute (pythonGH-132165)"

This reverts commit 0788948.

---------
(cherry picked from commit 6bf1c0a)

Co-authored-by: Emma Smith <[email protected]>
Co-authored-by: Gregory P. Smith <[email protected]>
…ass, make the original class collectible (pythonGH-136893) (python#136960)

pythongh-135228: When @DataClass(slots=True) replaces a dataclass, make the original class collectible (pythonGH-136893)

An interesting hack, but more localized in scope than pythonGH-135230.

This may be a breaking change if people intentionally keep the original class around
when using `@dataclass(slots=True)`, and then use `__dict__` or `__weakref__` on the
original class.
(cherry picked from commit 46cbdf9)

Co-authored-by: Jelle Zijlstra <[email protected]>
Co-authored-by: Alyssa Coghlan <[email protected]>
…136962)

Modifies the test runner script to no longer export the the HOST environment
variable, and to allow for tests that produce no Python output (output from the
Android console is still expected and required). These changes stem from
knowledge gained during developing a PR for Android support in cibuildwheel.
(cherry picked from commit 149bddc)

Co-authored-by: Malcolm Smith <[email protected]>
…parameter descriptions (pythonGH-136797) (python#136825)

Co-authored-by: Valerio Gianella <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
…hon#136936)

Co-authored-by: Nacho Caballero <[email protected]>
Co-authored-by: Nacho Caballero <[email protected]>
Co-authored-by: Antonio Spadaro <[email protected]>
…epts PyMutex (pythongh-135899) (python#136969)

Co-authored-by: Nathan Goldbaum <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
…es (pythonGH-136822) (pythonGH-136935)

This is useful for implementing proper `input()`. It requires the
JavaScript engine to support the wasm JSPI spec which is now stage 4.
It is supported on Chrome since version 137 and on Firefox and node
behind a flag.

We override the `__wasi_fd_read()` syscall with our own variant that
checks for a readAsync operation. If it has it, we use our own async
variant of `fd_read()`, otherwise we use the original `fd_read()`.
We also add a variant of `FS.createDevice()` called
`FS.createAsyncInputDevice()`.

Finally, if JSPI is available, we wrap the `main()` symbol with
`WebAssembly.promising()` so that we can stack switch from `fd_read()`.
If JSPI is not available, attempting to read from an AsyncInputDevice
will raise an `OSError`.
(cherry picked from commit 7ae4749)

Co-authored-by: Hood Chatham <[email protected]>
…H-135229) (python#136974)

Co-authored-by: Dave Peck <[email protected]>
Co-authored-by: Petr Viktorin <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
Co-authored-by: Loïc Simon <[email protected]>
Co-authored-by: pauleveritt <[email protected]>
Co-authored-by: Lysandros Nikolaou <[email protected]>
…) (pythonGH-136977)

(cherry picked from commit d1d526a)

Co-authored-by: adam j hartz <[email protected]>
Co-authored-by: Hood Chatham <[email protected]>
…" in HTMLParser (pythonGH-135310) (pythonGH-136984)

(cherry picked from commit 4d02f31)

Co-authored-by: Timon Viola <[email protected]>
Co-authored-by: Serhiy Storchaka <[email protected]>
Co-authored-by: Łukasz Langa <[email protected]>
… relocated directories (pythonGH-136987) (python#136990)

pythongh-133742: Fix test_sysconfig and test_build_details for relocated directories (pythonGH-136987)
(cherry picked from commit aafbdb5)

Co-authored-by: Pablo Galindo Salgado <[email protected]>
…GH-136931) (pythonGH-136988)

Basic support for pyrepl in Emscripten. Limitations:
* requires JSPI
* no signal handling implemented

As followup work, it would be nice to implement a webworker variant
for when JSPI is not available and proper signal handling.

Because it requires JSPI, it doesn't work in Safari. Firefox requires
setting an experimental flag. All the Chromiums have full support since
May. Until we make it work without JSPI, let's keep the original web_example
around.
(cherry picked from commit c933a6b)

Co-authored-by: Hood Chatham <[email protected]>
Co-authored-by: Łukasz Langa <[email protected]>
Co-authored-by: Éric <[email protected]>
…related sections (pythonGH-135942) (python#137048)

Co-authored-by: Petr Viktorin <[email protected]>
Co-authored-by: Blaise Pabon <[email protected]>
Co-authored-by: Stan Ulbrych <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
miss-islington and others added 26 commits September 16, 2025 15:49
… `collections.abc` (pythonGH-118804)" (pythonGH-138990) (python#138995)

Revert "pythongh-118803: Remove `ByteString` from `typing` and `collections.abc` (pythonGH-118804)" (pythonGH-138990)
(cherry picked from commit 530ddd3)

Co-authored-by: Alex Waygood <[email protected]>
…pythonGH-139016) (python#139036)

pythongh-139006: Doc: Clarify html.escape function description (pythonGH-139016)
(cherry picked from commit 81c975b)


Doc: Clarify html.escape function description (pythonGH-139006)

Co-authored-by: PrinceNaroliya <[email protected]>
…II character (pythonGH-138591) (python#138988)

Co-authored-by: Benjamin Johnson <[email protected]>
Co-authored-by: Bénédikt Tran <[email protected]>
Co-authored-by: Brian Schubert <[email protected]>
… environment (pythonGH-138519) (python#139022)

Co-authored-by: Gyeongjae Choi <[email protected]>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Russell Keith-Magee <[email protected]>
…nd `choices` (pythonGH-133827) (python#139057)

pythongh-132558: Improve `argparse` docs on combining `type` and `choices` (pythonGH-133827)
(cherry picked from commit dd0840b)

Co-authored-by: Hans Then <[email protected]>
Co-authored-by: Savannah Bailey <[email protected]>
…ature for Emscripten trampoline (pythonGH-137470) (python#139039)

pythongh-128627: Use __builtin_wasm_test_function_pointer_signature for Emscripten trampoline (pythonGH-137470)

With llvm/llvm-project#150201 being merged, there is
now a better way to generate the Emscripten trampoline, instead of including
hand-generated binary WASM content. Requires Emscripten 4.0.12.
(cherry picked from commit 2629ee4)

Co-authored-by: Hood Chatham <[email protected]>
…ythonGH-131389) (python#139068)

pythonGH-139067: Add example for `argparse`'s `append` action (pythonGH-131389)
(cherry picked from commit 101fd33)

Co-authored-by: Moshe Kaplan <[email protected]>
…ion (pythonGH-138305) (python#139124)

pythongh-137242: Mention Android binary releases in documentation (pythonGH-138305)

Adds a mention of binary releases to the Android documentation.

---------


(cherry picked from commit 594bdde)

Co-authored-by: Malcolm Smith <[email protected]>
…recation (pythonGH-139115) (python#139136)

pythongh-118803: Improve documentation around `ByteString` deprecation (pythonGH-139115)
(cherry picked from commit 4305cc3)

Co-authored-by: Alex Waygood <[email protected]>
…9205) (python#139217)

`Doc/library/os.rst`: Remove spurious parenthesis (pythonGH-139205)
(cherry picked from commit 9c3d09b)

Co-authored-by: Stan Ulbrych <[email protected]>
…ush`` (pythonGH-138671) (python#139202)

pythongh-138092: Correct the documented signature of ``mmap.flush`` (pythonGH-138671)
(cherry picked from commit e101f90)

Co-authored-by: AN Long <[email protected]>
…138878) (python#139200)

Make sure the ``:keyword:`` role works for ``case`` (pythonGH-138878)
(cherry picked from commit 848d926)

Co-authored-by: sobolevn <[email protected]>
@python-cla-bot
Copy link

python-cla-bot bot commented Sep 24, 2025

All commit authors signed the Contributor License Agreement.

CLA signed

@bedevere-app
Copy link

bedevere-app bot commented Sep 24, 2025

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@HoKim98 HoKim98 closed this Sep 24, 2025
@HoKim98 HoKim98 changed the title Fix/correct wasm build config site [3.14] Fix wasm build config site Sep 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.