> On 3 Nov 2019, at 10:28, Steven D'Aprano <st...@pearwood.info> wrote: > > On Sun, Nov 03, 2019 at 12:23:02AM -0700, Brendan Barnwell wrote: > >> For the record, I have always thought that str.join should call str >> on all its arguments. The fact that it doesn't is really annoying. > > Given: > > values = ["Hello", b"World"] > > would you expect ' '.join(values) to return > > "Hello b'World'" > > because that's what you'll get calling str automatically.
Side note! That misfeature of python 3 was one of the largest source of continuing bugs in production for us after we switched. _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/FKUHLX5TFLOGKGTEQH2FQFSVJLWWJC3P/ Code of Conduct: http://python.org/psf/codeofconduct/