[issue30672] PEP 538: Unexpected locale behaviour on Mac OS X

2017-06-17 Thread Nick Coghlan
Nick Coghlan added the comment: For the case where POSIX is a distinct locale from the default C locale (rather than a simple alias), I'm leaning towards taking PEP 538 literally, and adjusting the affected test cases to assume that locale coercion *won't* happen for that case on Mac OS X. I

[issue30672] PEP 538: Unexpected locale behaviour on Mac OS X

2017-06-15 Thread Nick Coghlan
New submission from Nick Coghlan: To get the new PEP 538 tests passing on Mac OS X (see [1,2]), I ended up having to skip the following test scenarios: LANG=UTF-8 (behaves like LANG=C, *not* LC_CTYPE=UTF-8) LANG=POSIX (behaves like a distinct locale is set, not LANG=C)