"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