This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author petr.viktorin
Recipients Maxime Belanger, maxbelanger, pablogsal, petr.viktorin
Date 2021-07-28.08:24:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1627460690.35.0.106694358561.issue43377@roundup.psfhosted.org>
In-reply-to
Content
PyErr_Display (without underscore) is already exposed.
This issue is about adding a variant with an additional output file argument.

The function formats an exception "just as Python would". The exact output will naturally be different between versions, but the function is still useful.

I'm also not sold on the "the arguments it may take" restriction:
- exceptions generally carry all of their context around
- even if they don't in the future, we'll always need a function that takes "just" an exception, for cases where some additional context isn't available
History
Date User Action Args
2021-07-28 08:24:50petr.viktorinsetrecipients: + petr.viktorin, Maxime Belanger, maxbelanger, pablogsal
2021-07-28 08:24:50petr.viktorinsetmessageid: <1627460690.35.0.106694358561.issue43377@roundup.psfhosted.org>
2021-07-28 08:24:50petr.viktorinlinkissue43377 messages
2021-07-28 08:24:50petr.viktorincreate