-
-
Notifications
You must be signed in to change notification settings - Fork 32k
bpo-43008: Make IDLE respect sys.excepthook #24302
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
CLA signed, it'll take a bit to update tho. |
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.
I answered on the issue what is required and desired.
Recording of CLA is also required. Won't happen before Monday at earliest.
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.
Summary of issue post. Require
- Guard excepthook call, imitating standard result of excepthook exception.
- Short blurb.
- Minor doc change.
Want - Tests
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
..." and reset display and exception handling".
...when raising in 2-process mode, in a way that matches normal shell behavior.
Besides the tests, I have made the requested changes; please review again. I didn't manage to figure out how to go about testing an excepthook in the first place, let alone a good or bad one. Hope that's not an issue. |
Thanks for making the requested changes! @terryjreedy: please review the changes made to this pull request. |
Thanks @Kenny2github for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8, 3.9. |
GH-24346 is a backport of this pull request to the 3.9 branch. |
Co-authored-by: Terry Jan Reedy <[email protected]> (cherry picked from commit 7a34380) Co-authored-by: Ken <[email protected]>
Co-authored-by: Terry Jan Reedy <[email protected]> (cherry picked from commit 7a34380) Co-authored-by: Ken <[email protected]>
GH-24347 is a backport of this pull request to the 3.8 branch. |
Co-authored-by: Terry Jan Reedy <[email protected]> (cherry picked from commit 7a34380) Co-authored-by: Ken <[email protected]>
Co-authored-by: Terry Jan Reedy <[email protected]> (cherry picked from commit 7a34380) Co-authored-by: Ken <[email protected]>
Deleted bogus buildbot splat: test_asyncio altered the execution environment. |
Co-authored-by: Terry Jan Reedy <[email protected]>
This applies to default 2-process mode as excepthook already works in -n mode.
https://bugs.python.org/issue43008