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 Javier Dehesa
Recipients Javier Dehesa, christian.heimes
Date 2018-04-03.15:06:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1522767993.99.0.467229070634.issue33214@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks Christian. I thought of join precisely because it performs conceptually the same function as with str, so the parallel between ''.join(), [].join() and ().join() looked more obvious. Also there is os.path.join and PurePath.joinpath, so the verb seemed well-established. As for shared method names, index and count are present both in sequences and str - although it is true that these do return the same kind of object in any cases.

I'm not saying your points aren't valid, though. Your proposed way with extend is I guess about the same as list(itertools.chain(...)), which could be considered to be enough. I just feel that is not particularly convenient, especially for newer developers, which will probably gravitate towards sum(...) more than itertools or a nested generator expression, but I may be wrong.
History
Date User Action Args
2018-04-03 15:06:34Javier Dehesasetrecipients: + Javier Dehesa, christian.heimes
2018-04-03 15:06:33Javier Dehesasetmessageid: <1522767993.99.0.467229070634.issue33214@psf.upfronthosting.co.za>
2018-04-03 15:06:33Javier Dehesalinkissue33214 messages
2018-04-03 15:06:33Javier Dehesacreate