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 moi90
Recipients blueyed, iritkatriel, moi90, serhiy.storchaka, terry.reedy
Date 2021-03-31.11:32:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1617190339.05.0.582876572038.issue39228@roundup.psfhosted.org>
In-reply-to
Content
> Even correctly raised code can raise exceptions such as MemoryError, RecursionError and KeybordInterrupt.

For me, this is an argument in favor of the change (although KeybordInterrupt and probably a couple more should not be caught).

traceback is used in contexts where an error already occured and it should do its best to help the user find the cause for it. It does not help much if itself then fails because some values are not repr'eable.

What does pdb do in this case?
History
Date User Action Args
2021-03-31 11:32:19moi90setrecipients: + moi90, terry.reedy, blueyed, serhiy.storchaka, iritkatriel
2021-03-31 11:32:19moi90setmessageid: <1617190339.05.0.582876572038.issue39228@roundup.psfhosted.org>
2021-03-31 11:32:19moi90linkissue39228 messages
2021-03-31 11:32:18moi90create