| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
I'm not sure why wrapping of the codec errors was added in the first place. IMHO the encoding name and codec operation should be clear enough from the stacktrace. However using exception notes for that is definitiely an improvement. I fear that I can't review the patch in detail, as I'm no longer familiar with Python's C API. |
Sorry, something went wrong.
|
🤖 New build scheduled with the buildbot fleet by @iritkatriel for commit af91411 🤖 If you want to schedule another build, you need to add the 🔨 test-with-refleak-buildbots label again. |
Sorry, something went wrong.
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
There was a problem hiding this comment.
Excellent cleanup!
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #102406.
This replaces exception wrapping in codecs by PEP-678 notes.
Simplifies the code and removes the restrictions that prevent wrapping of exceptions that we cannot safely create copies of (because they have args or __init__ overrides, etc).