Skip to content

Comments

[3.11] gh-105375: Improve error handling in the sys extension module (#105611)#105666

Merged
erlend-aasland merged 1 commit intopython:3.11from
erlend-aasland:backport-3.11-sys-err-handling
Jun 11, 2023
Merged

[3.11] gh-105375: Improve error handling in the sys extension module (#105611)#105666
erlend-aasland merged 1 commit intopython:3.11from
erlend-aasland:backport-3.11-sys-err-handling

Conversation

@erlend-aasland
Copy link
Contributor

@erlend-aasland erlend-aasland commented Jun 11, 2023

(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]

…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]>
Sign up for free to 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.

2 participants