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 nnja
Recipients lemburg, loewis, nnja, serhiy.storchaka
Date 2016-06-03.01:14:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Adding the test below to will reproduce the issue under the following conditions:
- The locale `uk_UA` is installed on your system.
- 'uk_UA': (',', '\xa0') is added to the `known_numerics` dictionary in this test file

    @unittest.skipUnless(nl_langinfo, "nl_langinfo is not available")
    def test_lc_numeric_not_char_nl_langinfo(self):
        # Test nl_langinfo against known values/
        # It should still work if there's a mismatch between
        # String & Numeric Locales
        tested = False
        for loc in candidate_locales:
                setlocale(LC_NUMERIC, loc)
            except Error:
            for li, lc in ((RADIXCHAR, "decimal_point"),
                            (THOUSEP, "thousands_sep")):
                if self.numeric_tester('nl_langinfo', nl_langinfo(li), lc, loc):
                    tested = True
        if not tested:
            self.skipTest('no suitable locales')
Date User Action Args
2016-06-03 01:14:14nnjasetrecipients: + nnja, lemburg, loewis, serhiy.storchaka
2016-06-03 01:14:14nnjasetmessageid: <>
2016-06-03 01:14:14nnjalinkissue25812 messages
2016-06-03 01:14:14nnjacreate