[Python-ideas] Add list.join() please

Chris Angelico rosuav at gmail.com
Thu Jan 31 01:12:52 EST 2019

On Thu, Jan 31, 2019 at 5:09 PM Steven D'Aprano <steve at pearwood.info> wrote:
> On Wed, Jan 30, 2019 at 12:37:45PM +0100, Jamesie Pic wrote:
> > Thanks for your reply Jimmy ! As suggested by Chris and Steven, we
> > might also want to throw in a "key" kwarg, that could be none by
> > default to keep BC, but also allow typecasting:
> >
> > ' '.join('a', 2, key=str)
> Please don't misrepresent what I said, I never suggested a key function
> like that. And I don't recall Chris suggesting it either, but perhaps
> I missed one of his posts.

I didn't, but I don't know if Chris Barker did.

(Can't swing a cat without hitting someone named Steve or Chris, in
some spelling or another!)


More information about the Python-ideas mailing list