[issue23949] Number of elements display in error message is wrong while unpacking in traceback

2015-04-14 Thread Ulaga Nathan Mahadevan
Ulaga Nathan Mahadevan added the comment: I agree. I posted it as an enhancement request. Steven explained the expected message clearly. Thanks. On Tue, Apr 14, 2015 at 12:58 PM, Steven D'Aprano rep...@bugs.python.org wrote: Steven D'Aprano added the comment: The error message isn't wrong

[issue23949] Number of elements display in error message is wrong while unpacking in traceback

2015-04-14 Thread Ulaga Nathan Mahadevan
New submission from Ulaga Nathan Mahadevan: data = ['David',50,91.1,(2012,12,21)] print (Data = ,data) name,shares,price,date,value = data print(Name = ,name, , no of shares = ,shares,, unit price = ,price,, date of purchase = ,date) After running the script Data = ['David', 50, 91.1, (2012