[Python-Dev] Re: [Python-checkins] python/dist/src/Lib textwrap.py,1.18,1.19

Guido van Rossum guido@python.org
Wed, 11 Dec 2002 10:25:41 -0500


> Weird.  What the heck is 0xa0 doing in string.whitespace?  Oh,
> waitasec, 0xa0 is non-breaking-space in ISO-8859-1.  But no,
> string.whitespace is hardcoded to the US-ASCII whitespace chars, all
> of which are in range(128) -- your locale shouldn't matter.

It's overridden in the strop module, which tests for isspace().

--Guido van Rossum (home page: http://www.python.org/~guido/)