Message400901
+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_. |
|
Date |
User |
Action |
Args |
2021-09-02 08:29:14 | nemeskeyd | set | recipients:
+ nemeskeyd, serhiy.storchaka, ZackerySpytz, xtreak, alexmojaki, aeros, malcomvx |
2021-09-02 08:29:14 | nemeskeyd | set | messageid: <1630571354.16.0.254208112789.issue39816@roundup.psfhosted.org> |
2021-09-02 08:29:14 | nemeskeyd | link | issue39816 messages |
2021-09-02 08:29:14 | nemeskeyd | create | |
|