Message110887
| Author | djc |
|---|---|
| Recipients | djc |
| Date | 2010-07-20.11:28:39 |
| SpamBayes Score | 0.00087479694 |
| Marked as misclassified | No |
| Message-id | <1279625321.9.0.516167517772.issue9314@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
This seems wrong: >>> a = [] >>> b = iter(['c', 'd']) >>> a += b >>> c = [] >>> c + iter(['d', 'e']) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: can only concatenate list (not "listiterator") to list In other words, if iadd can deal with it, why can't add? |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2010-07-20 11:28:42 | djc | set | recipients: + djc |
| 2010-07-20 11:28:41 | djc | set | messageid: <1279625321.9.0.516167517772.issue9314@psf.upfronthosting.co.za> |
| 2010-07-20 11:28:40 | djc | link | issue9314 messages |
| 2010-07-20 11:28:39 | djc | create | |