-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
[3.13] gh-134163: fix: exec('_testcapi.set_nomemory(0)') hang in new repl 3.13 #138491
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
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
1202ec6
fix: exec('_testcapi.set_nomemory(0)') hang in new repl 3.13
yihong0618 4cd38e8
chore: add news for it
yihong0618 e557017
Update Python/ceval.c
yihong0618 53f713c
fix: add unittest for it
yihong0618 9cc89f1
fix: make test info better
yihong0618 a9b6f96
fix: better test without print
yihong0618 66ec42e
Update Misc/NEWS.d/next/Core_and_Builtins/2025-09-04-11-52-23.gh-issu…
yihong0618 a9e6b64
Update Lib/test/test_repl.py
yihong0618 791ca86
fix: address comments
yihong0618 4827680
Update Lib/test/test_repl.py
yihong0618 8ec5769
fix: follow up another comments
yihong0618 edcfff7
fix: should set the error when no memory
yihong0618 81c6244
fix: exec('_testcapi.set_nomemory(0)') hang in new repl 3.13
yihong0618 847bd7b
chore: add news for it
yihong0618 ff3c7f4
Update Python/ceval.c
yihong0618 175a13e
fix: add unittest for it
yihong0618 d952d53
fix: make test info better
yihong0618 5fa3a1b
fix: better test without print
yihong0618 d3274fb
Update Misc/NEWS.d/next/Core_and_Builtins/2025-09-04-11-52-23.gh-issu…
yihong0618 c89c5b5
Update Lib/test/test_repl.py
yihong0618 63a6b7d
fix: address comments
yihong0618 977703f
Update Lib/test/test_repl.py
yihong0618 095f865
fix: follow up another comments
yihong0618 932c15e
fix: should set the error when no memory
yihong0618 52310f0
Merge branch '3.13' into hy/fix_issue_134163
ZeroIntensity bb790af
fix: in TraceRefs it will return fatal error
yihong0618 06b779a
fix: use support.Py_TRACE_REFS
yihong0618 30cd34d
Merge branch 'hy/fix_issue_134163' of https://github.com/yihong0618/c…
yihong0618 26ce31b
fix: use spawn_python
yihong0618 5ab08c7
fix: address comments
yihong0618 789040c
Apply suggestions from code review
yihong0618 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
1 change: 1 addition & 0 deletions
1
Misc/NEWS.d/next/Core_and_Builtins/2025-09-04-11-52-23.gh-issue-134163.EqKyn8.rst
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fix a hang when the process is out of memory inside an exception handler. |
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.