fix: replace 4 bare except clauses with except Exception by haosenwang1018 · Pull Request #3322 · apache/thrift
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 4.1k
Merged
Jens-G merged 1 commit intoapache:masterfrom
Mar 5, 2026Merged
fix: replace 4 bare except clauses with except Exception#3322
Jens-G merged 1 commit intoapache:masterfrom
fix: replace 4 bare except clauses with except Exception#3322
Jens-G merged 1 commit intoapache:masterfrom
Conversation
Copy link
Contributor
haosenwang1018
commented
Feb 26, 2026
haosenwang1018
commented
Replace bare except clauses with except Exception.
Copy link
Member
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?
Copy link
Member
Jens-G
commented
Mar 5, 2026
Jens-G commented
Mar 5, 2026Oh it's contrib stuff ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment