[New-bugs-announce] [issue6537] string.split shouldn't split on non-breaking spaces

Eric Promislow report at bugs.python.org
Tue Jul 21 22:00:51 CEST 2009


New submission from Eric Promislow <ericp at activestate.com>:

ActivePython 2.6.1.1 ...
>>> a = u"abc\x0adef"
>>> a.split()
[u'abc', u'def']
>>>

"\x0a" is a non-breaking space. This behavior means we can't
easily use split() to reflow text.

----------
components: Interpreter Core
messages: 90770
nosy: ericp
severity: normal
status: open
title: string.split shouldn't split on non-breaking spaces
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6537>
_______________________________________


More information about the New-bugs-announce mailing list