Martin <martin.schroe...@nerdluecht.de> added the comment:

> 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?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39228>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to