Author cstratak
Recipients cstratak
Date 2017-10-30.13:41:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1509370865.74.0.213398074469.issue31900@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2017-10-30 13:41:05cstrataksetrecipients: + cstratak
2017-10-30 13:41:05cstrataksetmessageid: <1509370865.74.0.213398074469.issue31900@psf.upfronthosting.co.za>
2017-10-30 13:41:05cstrataklinkissue31900 messages
2017-10-30 13:41:05cstratakcreate