-
-
Notifications
You must be signed in to change notification settings - Fork 34k
bpo-45635: refactor print_exception() into smaller functions #29981
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…eback and print_exception_message out of print_exception
asvetlov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice readability improvement. (I'd change the PR title to bpo-45635: refactor print_exception())
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
|
🤖 New build scheduled with the buildbot fleet by @iritkatriel for commit f06843b 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
|
The failed testruns are failing on other branches as well, we have refleaks tests passing. So I'm merging. Thank you! |
This is a step in the error handling tidy-up. I'm breaking it up because otherwise it's too much to review.
This PR breaks up print_exception by extracting parts of it to separate functions. Error handling in the new functions follow the standardized format, but print_exception itself not yet.
https://bugs.python.org/issue45635