[issue23949] Number of elements display in error message is wrong while unpacking in traceback
Arnon Yaari
report at bugs.python.org
Wed Apr 15 20:21:03 CEST 2015
Arnon Yaari added the comment:
Sorry, I got confused (which proves the point of the ticket :))
* the "need more than 3 values" error message wasn't wrong, just confusing.
* Including "into starred target" in the message was incorrect, I removed it.
* The message with "expected at least ..." (when there is a star target) didn't show if there weren't enough values to fill the arguments before the star argument. I fixed this now too and added a test.
----------
Added file: http://bugs.python.org/file39046/issue23949-4.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23949>
_______________________________________
More information about the Python-bugs-list
mailing list