This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ulaganathanm123@gmail.com
Recipients ulaganathanm123@gmail.com
Date 2015-04-14.16:28:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1429028937.85.0.30895290076.issue23949@psf.upfronthosting.co.za>
In-reply-to
Content
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, 12, 21)]
    name,shares,price,date,value = data
ValueError: need more than 4 values to unpack

There are only 4 values to unback and "not more than 4". The given number of elements are 4 and so required number is 4. The error message is not clear or confusing.
History
Date User Action Args
2015-04-14 16:28:57ulaganathanm123@gmail.comsetrecipients: + ulaganathanm123@gmail.com
2015-04-14 16:28:57ulaganathanm123@gmail.comsetmessageid: <1429028937.85.0.30895290076.issue23949@psf.upfronthosting.co.za>
2015-04-14 16:28:57ulaganathanm123@gmail.comlinkissue23949 messages
2015-04-14 16:28:57ulaganathanm123@gmail.comcreate