-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
gh-136549: Fix signature of threading.excepthook() #136559
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
gh-136549: Fix signature of threading.excepthook() #136559
Conversation
Is there any reason this wasn't caught by regrtest? |
Regrtest sets different |
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.
Ok, thanks. The core change looks good to me. Could we add a simple test for this? Something like inspect.signature(threading.__excepthook__)
should work.
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
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
…6559) (cherry picked from commit be2c3d284ecce67474a260b8c37e2f1e0628a9cf) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
GH-136589 is a backport of this pull request to the 3.14 branch. |
…6559) (cherry picked from commit be2c3d284ecce67474a260b8c37e2f1e0628a9cf) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
GH-136590 is a backport of this pull request to the 3.13 branch. |
…GH-136590) (cherry picked from commit be2c3d2) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…GH-136589) (cherry picked from commit be2c3d2) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
test_inspect
locally #136549