Message230397
| Author | ethan.furman |
|---|---|
| Recipients | ethan.furman, rhettinger |
| Date | 2014-10-31.22:14:36 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1414793676.66.0.938379315821.issue22779@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
--> from collections import deque --> d = deque() --> d += 1 Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: 'int' object is not iterable deque should be returning NotImplemented, which would generate a more appropriate error message: TypeError: unsupported operand type(s) for -=: 'collections.deque' and 'int' which is what happens with -=, *=, /=, |=, at which point I stopped testing. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2014-10-31 22:14:36 | ethan.furman | set | recipients: + ethan.furman, rhettinger |
| 2014-10-31 22:14:36 | ethan.furman | set | messageid: <1414793676.66.0.938379315821.issue22779@psf.upfronthosting.co.za> |
| 2014-10-31 22:14:36 | ethan.furman | link | issue22779 messages |
| 2014-10-31 22:14:36 | ethan.furman | create | |