[issue23949] Number of elements display in error message is wrong while unpacking in traceback
Martin Panter
report at bugs.python.org
Wed Apr 15 06:15:13 CEST 2015
Martin Panter added the comment:
Either option would be an improvement. I think I prefer issue23949.diff by Arnon. I guess it would then look like this:
>>> name,shares,price,date,value = data
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: not enough values to unpack (expected 5, got 4)
----------
nosy: +vadmium
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23949>
_______________________________________
More information about the Python-bugs-list
mailing list