This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients ncoghlan, ned.deily, ronaldoussoren, vstinner
Date 2017-06-15.09:23:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1497518633.36.0.998856107706.issue30672@psf.upfronthosting.co.za>
In-reply-to
Content
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 )
History
Date User Action Args
2017-06-15 09:23:53ncoghlansetrecipients: + ncoghlan, ronaldoussoren, vstinner, ned.deily
2017-06-15 09:23:53ncoghlansetmessageid: <1497518633.36.0.998856107706.issue30672@psf.upfronthosting.co.za>
2017-06-15 09:23:53ncoghlanlinkissue30672 messages
2017-06-15 09:23:53ncoghlancreate