Message307951
Serhiy, I think I got a better understanding of what is happening. It is well described by the following example :
>>> a, b = 1,
Traceback (most recent call last):
File "<pyshell#40>", line 1, in <module>
a, b = 1,
ValueError: need more than 1 value to unpack
>>> a, b = 1
Traceback (most recent call last):
File "<pyshell#41>", line 1, in <module>
a, b = 1
TypeError: 'int' object is not iterable
Again, the message might be correct, but in this case, the combination between the message and the ambiguous syntax, makes it lack from explicitness.
Understanding that, I suggest to simply add "(expected 'tuple')" at the end of the message.
ex : TypeError: 'int' object is not iterable (expected 'tuple') |
|
| Date |
User |
Action |
Args |
| 2017-12-10 10:00:27 | Camion | set | recipients:
+ Camion, eric.smith, steven.daprano, serhiy.storchaka |
| 2017-12-10 10:00:27 | Camion | set | messageid: <1512900027.91.0.213398074469.issue32259@psf.upfronthosting.co.za> |
| 2017-12-10 10:00:27 | Camion | link | issue32259 messages |
| 2017-12-10 10:00:27 | Camion | create | |
|