Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

__repr__() and repr() can raise exceptions. Silencing arbitrary exception is 
usually a bad idea. Even correctly raised code can raise exceptions such as 
MemoryError, RecursionError and KeybordInterrupt.

For this reason I think that the proposed change should not be made.

----------
nosy: +serhiy.storchaka

_______________________________________
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