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-143460: Correct unlimited stack size skip for Emscripten#143765

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

Merged
freakboy3742 merged 1 commit intopython:mainfromfreakboy3742:emscripten-fixes
Jan 13, 2026

Conversation

@freakboy3742
Copy link
Contributor

@freakboy3742freakboy3742 commentedJan 13, 2026
edited by bedevere-appbot
Loading

#143606 added a test skip decorator for tests when an infinite stack size is configured. That test skip included a shortcut for WASI (which doesn't have aresource module), but missing Emscripten (which has the same limitation).

@freakboy3742
Copy link
ContributorAuthor

!buildbot emscripten

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by@freakboy3742 for commit43b53af 🤖

Results will be shown at:

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

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

The builders matched are:

  • WASM Emscripten PR

Copy link
Member

@vstinnervstinner left a comment

Choose a reason for hiding this comment

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

LGTM

ifis_emscriptenoris_wasioros.name=="nt":
returntest

importresource
Copy link
Member

Choose a reason for hiding this comment

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

Another option is to removeif is_wasi or os.name == "nt": and replace it with a more a generic:

Suggested change
importresource
try:
importresource
exceptImportError:
returntest

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

I thought about that approach, but I figured it would be better to be explicit about whenresource is a required module so that you catch a case whereresource fails to compile for some reason.

@freakboy3742freakboy3742 merged commit1857a40 intopython:mainJan 13, 2026
55 checks passed
@freakboy3742freakboy3742 deleted the emscripten-fixes branchJanuary 13, 2026 22:03
@miss-islington-app
Copy link

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestJan 13, 2026
…thonGH-143765)Modifies the test skip for unlimited stack size to add Emscripten to theexclusion list.(cherry picked from commit1857a40)Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
@bedevere-app
Copy link

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

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelJan 13, 2026
freakboy3742 added a commit that referenced this pull requestJan 13, 2026
…H-143765) (#143819)Modifies the test skip for unlimited stack size to add Emscripten to theexclusion list.(cherry picked from commit1857a40)Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@vstinnervstinnervstinner approved these changes

@hoodmanehoodmaneAwaiting requested review from hoodmane

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@freakboy3742@bedevere-bot@vstinner

[8]ページ先頭

©2009-2026 Movatter.jp