A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-December/031028.html below:

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

[Python-Dev] Re: [Python-checkins] python/dist/src/Lib textwrap.py,1.18,1.19Martin v. Löwis martin@v.loewis.de
11 Dec 2002 15:23:10 +0100
"Fredrik Lundh" <fredrik@pythonware.com> writes:

> > 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.
[...]
>     /* Create 'whitespace' object */
>     n = 0;
>     for (c = 0; c < 256; c++) {
>         if (isspace(c))
>             buf[n++] = c;
>     }

Sure. But shouldn't Python/the-C-library startup in the "C" locale?

Is this another one of these Mac quirks?

Regards,
Martin



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4