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)
    LC_CTYPE=POSIX (behaves like a distinct locale is set, not LANG=C)
    LC_ALL=POSIX (behaves like a distinct locale is set, not LANG=C)

However, I'm not sure whether that should be diagnosed as a pure testing 
problem, where we change the test's expectations to match the current 
behaviour, or a bug in the PEP 538 implementation, where we should be updating 
it to produce the behaviour that the tests were originally expecting.


[1] 
https://github.com/python/cpython/commit/4563099d28e832aed22b85ce7e2a92236df03847
[2] 
https://github.com/python/cpython/commit/7926516ff95ed9c8345ed4c4c4910f44ffbd5949
 )

----------
components: Tests
messages: 296076
nosy: haypo, ncoghlan, ned.deily, ronaldoussoren
priority: normal
severity: normal
stage: test needed
status: open
title: PEP 538: Unexpected locale behaviour on Mac OS X
type: behavior
versions: Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30672>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to