New submission from Brett Cannon <[EMAIL PROTECTED]>:

If you try to remove something from a list, e.g. ``[].remove(1)``, the
message from ValueError is rather useless: "ValueError: list.remove(x):
x not in list". It should probably list the repr for the argument to
help in debugging.

----------
keywords: easy
messages: 76852
nosy: brett.cannon
priority: low
severity: normal
stage: needs patch
status: open
title: ValueError for list.remove() not very helpful
type: behavior
versions: Python 2.7, Python 3.1

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<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