On Sun, Mar 5, 2023 at 7:39 PM Rob Cliffe via Python-ideas <
python-ideas@python.org> wrote:

> Tl;dr: Join strings together with exactly one space between non-blank
>

This idea is inappropriate for inclusion in the language. There are too
many subtle details in how this should work as noted by others. To give an
example which I hope clearly illustrates that this is not simple,

what should the value of 'full' & 'width' be?

   - 'full width'
   - 'full width'

In case it's not clear, those are full width Latin characters which should
be joined by a full width (ideographic) space U+3000. What should be
inserted when the characters are Kanji (which doesn't usually use spaces)
or Amkharic (which uses '፡' U+1361) or a mix of different character sets?

--- Bruce
_______________________________________________
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/MQZ3OU4JC3OUW4BFN2PW5VS6WFHJJCAD/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to