This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:42djcsetrecipients: + djc
2010-07-20 11:28:41djcsetmessageid: <1279625321.9.0.516167517772.issue9314@psf.upfronthosting.co.za>
2010-07-20 11:28:40djclinkissue9314 messages
2010-07-20 11:28:39djccreate