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.l...@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 -- https://mail.python.org/mailman/listinfo/python-list