Message305227
Original bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1484497
It seems that on the development branch of Fedora, when we updated glibc from 2.26 to 2.26.90, test_float_with_comma started failing.
Details from the original bug report:
Under certain circumstances, when LC_NUMERIC is fr_FR.ISO8859-1 but LC_ALL is C.UTF-8, locale.localeconv() fails with
UnicodeDecodeError: 'locale' codec can't decode byte 0xa0 in position 0: Invalid or incomplete multibyte or wide character
Apparently, the thousands separator (or something else) in the lconv is "\xa0" (unbreakable space in fr_FR.ISO8859-1), and it's being decoded with UTF-8.
This is tripped by Python's test suite, namely test_float.GeneralFloatCases.test_float_with_comma |
|
Date |
User |
Action |
Args |
2017-10-30 13:41:05 | cstratak | set | recipients:
+ cstratak |
2017-10-30 13:41:05 | cstratak | set | messageid: <1509370865.74.0.213398074469.issue31900@psf.upfronthosting.co.za> |
2017-10-30 13:41:05 | cstratak | link | issue31900 messages |
2017-10-30 13:41:05 | cstratak | create | |
|