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

[3.10] gh-98608: Fix Failure-handling in new_interpreter() (gh-102658)#102883

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

Conversation

@miss-islington
Copy link
Contributor

@miss-islingtonmiss-islington commentedMar 21, 2023
edited
Loading

The error-handling code in new_interpreter() has been broken for a while. We hadn't noticed because those code mostly doesn't fail. (I noticed while working ongh-101660.) The problem is that we try to clear/delete the newly-created thread/interpreter using itself, which just failed. The solution is to switch back to the calling thread state first.

(cherry picked from commitd1b883b)

Co-authored-by: Eric Snowericsnowcurrently@gmail.com
https: //github.com//issues/98608

Automerge-Triggered-By: GH:ericsnowcurrently

…02658)The error-handling code in new_interpreter() has been broken for a while.  We hadn't noticed because those code mostly doesn't fail.  (I noticed while working onpythongh-101660.)  The problem is that we try to clear/delete the newly-created thread/interpreter using itself, which just failed.  The solution is to switch back to the calling thread state first.(cherry picked from commitd1b883b)Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>https: //github.com/python/issues/98608
@miss-islingtonmiss-islington merged commitd5fdc3f intopython:3.10Mar 21, 2023
@miss-islingtonmiss-islington deleted the backport-d1b883b-3.10 branchMarch 21, 2023 19:10
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@ericsnowcurrentlyericsnowcurrentlyericsnowcurrently approved these changes

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@miss-islington@ericsnowcurrently@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp