New submission from Jonathan Lange <[EMAIL PROTECTED]>: Here's the current message:
Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> [foo] = [2, 3] Traceback (most recent call last): File "<stdin>", line 1, in <module> ValueError: too many values to unpack It would be good if the message of the ValueError contained information about how many values were expected and how many values were given. ---------- components: Interpreter Core messages: 67885 nosy: jml severity: normal status: open title: The ValueError raised by failing to unpack sequence should have more information. type: feature request versions: Python 2.3, Python 2.4, Python 2.5 _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3071> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com