Skip to content

Conversation

@sobolevn
Copy link
Member

@sobolevnsobolevn commented Jun 9, 2023

I was only able to find one more case of the problem described in the original issue.

Copy link
Contributor

@erlend-aaslanderlend-aasland left a comment

Choose a reason for hiding this comment

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

Please revert the PyMem_Malloc change; that API does not set an exception so it is out of scope for this issue.

@bedevere-bot
Copy link

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@erlend-aaslanderlend-aasland added needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes labels Jun 9, 2023
sobolevnand others added 3 commits June 9, 2023 22:58
Copy link
MemberAuthor

@sobolevnsobolevn left a comment

Choose a reason for hiding this comment

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

Wow, I need to go to sleep with this many errors in such a tiny PR :)

@sobolevn
Copy link
MemberAuthor

Thanks a lot for your patience! 👍

@erlend-aasland
Copy link
Contributor

Thanks a lot for your patience! 👍

Likewise, and thanks for the PR! :)

@erlend-aaslanderlend-aasland enabled auto-merge (squash) June 9, 2023 21:13
@erlend-aaslanderlend-aasland merged commit 33c92c4 into python:mainJun 9, 2023
@miss-islington
Copy link
Contributor

Thanks @sobolevn for the PR, and @erlend-aasland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 9, 2023
…H-105586) Fix bugs where exceptions could end up being overwritten because of deferred error handling. (cherry picked from commit 33c92c4) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
@bedevere-bot
Copy link

GH-105612 is a backport of this pull request to the 3.12 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 9, 2023
…H-105586) Fix bugs where exceptions could end up being overwritten because of deferred error handling. (cherry picked from commit 33c92c4) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
@bedevere-botbedevere-bot removed the needs backport to 3.12 only security fixes label Jun 9, 2023
@bedevere-bot
Copy link

GH-105613 is a backport of this pull request to the 3.11 branch.

@bedevere-botbedevere-bot removed the needs backport to 3.11 only security fixes label Jun 9, 2023
erlend-aasland added a commit that referenced this pull request Jun 9, 2023
) (#105613) Fix bugs where exceptions could end up being overwritten because of deferred error handling. (cherry picked from commit 33c92c4) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
erlend-aasland added a commit that referenced this pull request Jun 9, 2023
) (#105612) Fix bugs where exceptions could end up being overwritten because of deferred error handling. (cherry picked from commit 33c92c4) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@sobolevn@bedevere-bot@erlend-aasland@miss-islington