New submission from Eric Promislow <er...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue6537> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com