Skip to content

fix: replace 4 bare except clauses with except Exception#3322

Merged
Jens-G merged 1 commit intoapache:masterfrom
haosenwang1018:fix/bare-excepts
Mar 5, 2026
Merged

fix: replace 4 bare except clauses with except Exception#3322
Jens-G merged 1 commit intoapache:masterfrom
haosenwang1018:fix/bare-excepts

Conversation

@haosenwang1018
Copy link
Contributor

Replace bare except clauses with except Exception.

@Jens-G
Copy link
Member

Jens-G commented Mar 5, 2026

Reference https://peps.python.org/pep-0760/

Would be nice if I would not have to do this for you next time. And, by the way, this PEP was withdrawn (reasons outlined there). Do we have any other justifications for such a change?

@Jens-G Jens-G added the python label Mar 5, 2026
@Jens-G
Copy link
Member

Jens-G commented Mar 5, 2026

Oh it's contrib stuff ...

@Jens-G Jens-G merged commit 7e06eb8 into apache:master Mar 5, 2026
79 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants