-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-105375: Improve error handling in the sys extension module #105611
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
gh-105375: Improve error handling in the sys extension module #105611
Conversation
Bail on first error to prevent exceptions from possibly being overwritten.
🤖 New build scheduled with the buildbot fleet by @erlend-aasland for commit 02cac21 🤖 If you want to schedule another build, you need to add the 🔨 test-with-refleak-buildbots label again. |
Thanks @erlend-aasland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
Sorry, @erlend-aasland, I could not cleanly backport this to |
…ythonGH-105611) In _PySys_AddXOptionWithError() and sys_add_xoption(), bail on first error to prevent exceptions from possibly being overwritten. (cherry picked from commit 41cddc2) Co-authored-by: Erlend E. Aasland <[email protected]>
GH-105665 is a backport of this pull request to the 3.12 branch. |
…odule (python#105611) (cherry picked from commit 41cddc2) In _PySys_AddXOptionWithError() and sys_add_xoption(), bail on first error to prevent exceptions from possibly being overwritten. Co-authored-by: Erlend E. Aasland <[email protected]>
GH-105666 is a backport of this pull request to the 3.11 branch. |
…H-105611) (#105665) In _PySys_AddXOptionWithError() and sys_add_xoption(), bail on first error to prevent exceptions from possibly being overwritten. (cherry picked from commit 41cddc2) Co-authored-by: Erlend E. Aasland <[email protected]>
Bail on first error to prevent exceptions from possibly being
overwritten.