commit | 41cddc2e93a285b81fa30ac542b088bd9d0112e9 | [log] [tgz] |
---|---|---|
author | Erlend E. Aasland <erlend.aasland@protonmail.com> | Sun Jun 11 22:02:49 2023 +0200 |
committer | GitHub <noreply@github.com> | Sun Jun 11 20:02:49 2023 +0000 |
tree | 327402188686f3424f35bfdee06895ef661e1095 | |
parent | e8998e46a7ce8ad336e0941a6da6e50cb88d1e47 [diff] |
gh-105375: Improve error handling in the sys extension module (#105611) In _PySys_AddXOptionWithError() and sys_add_xoption(), bail on first error to prevent exceptions from possibly being overwritten.