
I did say in my first post on the subject that I couldn't decide on the best API. I'm hoping that someone can devise a better one that might gain support. I also listed a large number of use cases in the stdlib (which I chose as a conveniently available codebase. I would expect there to be other use cases in other code). Best wishes Rob Cliffe On 10/03/2023 06:49, constantin@christoph.net wrote:
Then we're back to square one, doing this would be more confusing than just adding the sep to the joined string. In my opinion, this proposal just isn't needed. The equivalent solution is easier to understand and to write, and will lead to way less confusion about what join() actually does.
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-leave@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/4K2A7U... Code of Conduct: http://python.org/psf/codeofconduct/