Serhiy Storchaka added the comment:

I think it would be better to change error message to mention the type only. 
Yet one argument is that the repr of affected object can be very large, while 
the type name usually is short enough. repr() even can raise an exception (e.g. 
MemoryError).

----------
nosy: +bob.ippolito, pitrou, serhiy.storchaka

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

Reply via email to