-
-
Notifications
You must be signed in to change notification settings - Fork 33k
[3.14] Fix wasm build config site #139297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
HoKim98
wants to merge
936
commits into
python:main
from
ulagbulag:fix/correct-wasm_build-config-site
Closed
[3.14] Fix wasm build config site #139297
HoKim98
wants to merge
936
commits into
python:main
from
ulagbulag:fix/correct-wasm_build-config-site
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…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]>
…d the "=" separator in HTMLParser (pythonGH-136908) (python#136927)
…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]>
) Co-authored-by: Cornelius Roemer <[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]>
…pythongh-134365) (python#136971) Co-authored-by: Sam Gross <[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]>
…6972) (python#137002) Co-authored-by: Victorien <[email protected]>
…nts in PyArg_Parse (pythonGH-121303)" (pythonGH-136991) (python#137006)
…-137012) (python#137015) Co-authored-by: Adam Turner <[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]>
…H-138350) (python#138356) Co-authored-by: Victor Stinner <[email protected]>
…H-138881) (python#138903) Co-authored-by: Kian Eliasi <[email protected]>
…ram in logging documentation (pythonGH-138530) (python#138565) Co-authored-by: W. H. Wang <[email protected]>
…nGH-138301) (python#138346) Co-authored-by: Stan Ulbrych <[email protected]> Co-authored-by: Alexander Belopolsky <[email protected]>
…Analysis (pythonGH-138063) (python#138373) Co-authored-by: Stan Ulbrych <[email protected]>
… `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]>
…ythonGH-139008) (python#139020) Co-authored-by: Donghoon Nam <[email protected]>
…h stringified annotations (pythonGH-138953) (python#138989)
) (python#139024) Co-authored-by: Stan Ulbrych <[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]>
) (python#139021) Co-authored-by: Adam Turner <[email protected]>
… Windows machines (pythonGH-138932) (python#139034) Co-authored-by: adang1345 <[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]>
…t() docs (pythonGH-138315) (python#139051) Co-authored-by: PrinceNaroliya <[email protected]> Co-authored-by: Savannah Bailey <[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]>
Signed-off-by: Ho Kim <[email protected]>
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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/