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 christian.heimes
Recipients Javier Dehesa, christian.heimes
Date 2018-04-03.14:40:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1522766442.72.0.467229070634.issue33214@psf.upfronthosting.co.za>
In-reply-to
Content
join() is a bad choice, because new developers will confusing list.join with str.join.

We could turn list.extend(iterable) into list.extend(*iterable). Or you could just use extend with a chain iterator:

>>> l = []
>>> l.extend(itertools.chain([1], [2], [3]))
>>> l
[1, 2, 3]
History
Date User Action Args
2018-04-03 14:40:42christian.heimessetrecipients: + christian.heimes, Javier Dehesa
2018-04-03 14:40:42christian.heimessetmessageid: <1522766442.72.0.467229070634.issue33214@psf.upfronthosting.co.za>
2018-04-03 14:40:42christian.heimeslinkissue33214 messages
2018-04-03 14:40:42christian.heimescreate