Jacob Nilsson <jacob.nils...@ltu.se> added the comment:

For what my opinion is worth, I agree with Grégory's suggestion because the ',' 
part of ','.join(...) is almost as unintuitive as the problems Raymond's 
suggestions are trying to fix.

I was going to suggest a builtin to work on both str and bytes, like 
join(sep=None, strtype=str, *strings) but that interface looks pretty bad...

I think joinstr/joinbytes according to Grégory's suggestion (perhaps as 
classmethods of str/bytes?) would make the most sense.

----------
nosy: +ajoino

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43535>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to