Message307991
> How about "[TYPE] object is not iterable/unpackable"
I just grepped the docs, and the term 'unpackable' does not appear anywhere in them. I don't think this would be an improvement.
As for the earlier suggestion of adding "expected tuple" does not work, because it is not a tuple being expected, it is an iterable, and saying "expected iterable" would be redundant with saying "is not iterable".
What about "TypeError: expected iterable but found <type>"? That's parallel to some other type error messages we already generate. Would that be any clearer? (I'm not sure it would be, it says the same thing.) |
|
| Date |
User |
Action |
Args |
| 2017-12-10 21:15:55 | r.david.murray | set | recipients:
+ r.david.murray, rhettinger, eric.smith, steven.daprano, serhiy.storchaka, Camion |
| 2017-12-10 21:15:55 | r.david.murray | set | messageid: <1512940555.89.0.213398074469.issue32259@psf.upfronthosting.co.za> |
| 2017-12-10 21:15:55 | r.david.murray | link | issue32259 messages |
| 2017-12-10 21:15:55 | r.david.murray | create | |
|