Message230396
| Author |
ethan.furman |
| Recipients |
ethan.furman |
| Date |
2014年10月31日.22:07:49 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1414793269.83.0.627145039019.issue22778@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
--> s = []
--> s += 1
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'int' object is not iterable
For comparison, when NotImplemented is appropriately returned the message looks like this:
--> s -= 1
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for -=: 'list' and 'int'
Which is certainly more helpful than "<blank> object is not iterable" |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年10月31日 22:07:49 | ethan.furman | set | recipients:
+ ethan.furman |
| 2014年10月31日 22:07:49 | ethan.furman | set | messageid: <1414793269.83.0.627145039019.issue22778@psf.upfronthosting.co.za> |
| 2014年10月31日 22:07:49 | ethan.furman | link | issue22778 messages |
| 2014年10月31日 22:07:49 | ethan.furman | create |
|