-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
gh-102755: Add PyErr_DisplayException(exc) #102756
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
Changes from 1 commit
cd19310
17a9f88
90b2d59
2c4f399
ab84a68
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -742,7 +742,7 @@ sys_excepthook_impl(PyObject *module, PyObject *exctype, PyObject *value, | |
PyObject *traceback) | ||
/*[clinic end generated code: output=18d99fdda21b6b5e input=ecf606fa826f19d9]*/ | ||
{ | ||
PyErr_Display(exctype, value, traceback); | ||
PyErr_Display(NULL, value, traceback); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So this will hit the case where There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Exactly. This is sys.excepthook() which anyone can call so we need to deprecate the case where |
||
Py_RETURN_NONE; | ||
} | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.