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, [email protected] 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 -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/4K2A7UKZ3GCYNXDJQLYKHRVZ5UGBC3W4/
Code of Conduct: http://python.org/psf/codeofconduct/
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/5GGSF3UQ4RS7G27MYL2GXG7HSQWPMPSO/
Code of Conduct: http://python.org/psf/codeofconduct/