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 josh.r
Recipients ezio.melotti, josh.r, r.david.murray, youtux
Date 2015-01-07.02:11:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1420596669.49.0.886907759843.issue23179@psf.upfronthosting.co.za>
In-reply-to
Content
I'll note: "".join(map(str, iterable)) will solve problem #1. It's fast, uses existing built-ins, and is relatively intuitive. I know map is sometimes considered Pythonic, but "".join(str(x) for x in iterable) is an equally effective, if somewhat slower, alternative that can't be called un-Pythonic.

I have no idea why you think "".join(iterable) is not Pythonic, it's *the* way to join strings into a single string. Fast, direct, simple. string.from_iterable seems like a silly way to do what "".join(map(INSERTFAVORITEFUNCTIONHERE, iterable)) does already, for no gain.
History
Date User Action Args
2015-01-07 02:11:09josh.rsetrecipients: + josh.r, ezio.melotti, r.david.murray, youtux
2015-01-07 02:11:09josh.rsetmessageid: <1420596669.49.0.886907759843.issue23179@psf.upfronthosting.co.za>
2015-01-07 02:11:09josh.rlinkissue23179 messages
2015-01-07 02:11:08josh.rcreate