Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-127146: Emscripten: Fix test_open_undecodable_uri by setting-sTEXTDECODER=2#136624

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

hoodmane
Copy link
Contributor

@hoodmanehoodmane commentedJul 13, 2025
edited by bedevere-appbot
Loading

This removes the JS text decoder fallback and gets rid of the bugs due to the differences in behavior on invalid utf8 strings. Seeemscripten-core/emscripten#24690.

…DER=2`This removes the JS text decoder fallback and gets rid of the bugsdue to the differences in behavior on invalid utf8 strings.Seeemscripten-core/emscripten#24690.
@hoodmanehoodmane changed the titlegh-127146: Fix test_open_undecodable_uri by setting-sTEXTDECODER=2gh-127146: Emscripten: Fix test_open_undecodable_uri by setting-sTEXTDECODER=2Jul 13, 2025
@hoodmane
Copy link
ContributorAuthor

!buildbot emscripten

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by@hoodmane for commit358e0a3 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F136624%2Fmerge

The command will test the builders whose names match following regular expression:emscripten

The builders matched are:

  • WASM Emscripten PR

@freakboy3742freakboy3742 added the needs backport to 3.14bugs and security fixes labelJul 13, 2025
Copy link
Contributor

@freakboy3742freakboy3742 left a comment
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Looks like it resolves the test failures in CI, so I'll call that a win

(EDIT: There are still other failures, but this patch results inless failures, and specifically no failure with the sqlite3 tests.)

@freakboy3742freakboy3742 merged commit283b050 intopython:mainJul 13, 2025
48 of 49 checks passed
@miss-islington-app
Copy link

Thanks@hoodmane for the PR, and@freakboy3742 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestJul 13, 2025
… `-sTEXTDECODER=2` (pythonGH-136624)Removes the JS text decoder fallback and gets rid of the bugs due to the differencesin behavior on invalid utf8 strings. Seeemscripten-core/emscripten#24690.(cherry picked from commit283b050)Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
@bedevere-app
Copy link

GH-136631 is a backport of this pull request to the3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelJul 13, 2025
freakboy3742 pushed a commit that referenced this pull requestJul 14, 2025
…g `-sTEXTDECODER=2` (GH-136624) (#136631)Removes the JS text decoder fallback and gets rid of the bugs due to the differencesin behavior on invalid utf8 strings. Seeemscripten-core/emscripten#24690.(cherry picked from commit283b050)Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
hoodmane added a commit to hoodmane/cpython that referenced this pull requestJul 16, 2025
…nymoreThis might have been fixed bypythongh-136624, or by some Emscripten change.In any case, it no longer seems to be needed.
hoodmane added a commit to hoodmane/pyodide that referenced this pull requestJul 16, 2025
This makes the code smaller and gets rid of a buggy code path. Weswitched to this upstream to fix a test: seepython/cpython#136624.
freakboy3742 pushed a commit that referenced this pull requestJul 16, 2025
…#136707)This might have been fixed bygh-136624, or by some Emscripten change.In any case, it no longer seems to be needed.
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestJul 16, 2025
…nymore (pythonGH-136707)This might have been fixed bypythongh-136624, or by some Emscripten change.In any case, it no longer seems to be needed.(cherry picked from commitdcd27aa)Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
freakboy3742 pushed a commit that referenced this pull requestJul 16, 2025
…anymore (GH-136707) (#136717)This might have been fixed bygh-136624, or by some Emscripten change.In any case, it no longer seems to be needed.(cherry picked from commitdcd27aa)Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@freakboy3742freakboy3742freakboy3742 approved these changes

@erlend-aaslanderlend-aaslandAwaiting requested review from erlend-aaslanderlend-aasland is a code owner

@corona10corona10Awaiting requested review from corona10corona10 is a code owner

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@hoodmane@bedevere-bot@freakboy3742

[8]ページ先頭

©2009-2025 Movatter.jp