Author nemeskeyd
Recipients ZackerySpytz, aeros, alexmojaki, malcomvx, nemeskeyd, serhiy.storchaka, xtreak
Date 2021-09-02.08:29:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1630571354.16.0.254208112789.issue39816@roundup.psfhosted.org>
In-reply-to
Content
+1. When starting out, I always got confused about this message ("too many values to unpack? Does that mean my function returned too many items, which could not be unpacked into the expected number? Oh no, the opposite...").

Also, please note that the stack trace usually shows the offending line (e.g. x, y, z = fn(...)), so it is easy to see how many values are _expected_. It would be even more helpful to (also) show how many we _got_.
History
Date User Action Args
2021-09-02 08:29:14nemeskeydsetrecipients: + nemeskeyd, serhiy.storchaka, ZackerySpytz, xtreak, alexmojaki, aeros, malcomvx
2021-09-02 08:29:14nemeskeydsetmessageid: <1630571354.16.0.254208112789.issue39816@roundup.psfhosted.org>
2021-09-02 08:29:14nemeskeydlinkissue39816 messages
2021-09-02 08:29:14nemeskeydcreate