Author erik.bray
Recipients erik.bray, ncoghlan
Date 2017-11-10.10:47:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510310872.23.0.213398074469.issue32002@psf.upfronthosting.co.za>
In-reply-to
Content
Several of the tests in test_c_locale_coercion (particularly LocaleCoercionTests._check_c_locale_coercion) tend to assume that the system default locale used when setting setlocale(category, "") and when all the relevant environment variables are empty/blank will be the "C"/"POSIX" locale.

While this is often true POSIX does not require this to be the case.  For example on Cygwin it already defaults to "C.UTF-8", so these tests fail because they assume the legacy coercion will be used, when it isn't (e.g. the LC_CTYPE environment variable does not get forced to "C.UTF-8").  In principle this can affect any platform, however, that chooses a different default.
History
Date User Action Args
2017-11-10 10:47:52erik.braysetrecipients: + erik.bray, ncoghlan
2017-11-10 10:47:52erik.braysetmessageid: <1510310872.23.0.213398074469.issue32002@psf.upfronthosting.co.za>
2017-11-10 10:47:52erik.braylinkissue32002 messages
2017-11-10 10:47:52erik.braycreate