Raymond Hettinger <rhettin...@users.sourceforge.net> added the comment:

Amaury, I agree about having a limit.  It is a really bad idea to dump the full 
list repr for a potentially huge list or even for a small list of objects with 
huge individual reprs.   We should limit the output to just a few characters at 
most or risk spewing pages of garbage into people's tracebacks and log files.

That being said, limiting the output defeats the original purpose of the 
feature request.  ISTM that the proposal is only helpful in simple toy examples 
like [1,2,3].remove(4).  With real world data, the new message is probably 
going to cause more harm than good.  Accordingly, I recommend rejecting this 
feature request.

----------
nosy: +rhettinger
type: behavior -> feature request
versions: +Python 3.2 -Python 2.7, Python 3.1

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

Reply via email to