Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #92404

Re: Python NBSP DWIM

From Laura Creighton <lac@openend.se>
Subject Re: Python NBSP DWIM
References <20150610082812.2ce887c3@bigbox.christie.dr><CANc-5UxaGMbY4BCDjuui4XXq=g2NKYXnYJAzgp9aNzDjOWZjyg@mail.gmail.com>
Date 2015-06-10 17:03 +0200
Newsgroups comp.lang.python
Message-ID <mailman.346.1433948652.13271.python-list@python.org> (permalink)

Show all headers | View raw


In a message of Wed, 10 Jun 2015 09:28:24 -0500, Skip Montanaro writes:
>On Wed, Jun 10, 2015 at 8:28 AM, Tim Chase
><python.list@tim.thechases.com> wrote:
>> Is this a bug?
>
>Looks like it's been reported a few times with slightly different context:
>
>https://bugs.python.org/issue6537
>https://bugs.python.org/issue16623
>https://bugs.python.org/issue20491
>https://bugs.python.org/issue1390608
>
>The couple times it's come up in the context of str.split, it's been
>rejected, since the purpose of that method is to split words.
>
>Skip

In these unicode days, this thinking may need to be revisited.  There
are many languages where whitespace does not separate words -- either
words aren't separated, or in Vietnamese, spaces separate syllables,
so entire words have spaces in them.

Laura

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Python NBSP DWIM Laura Creighton <lac@openend.se> - 2015-06-10 17:03 +0200

csiph-web