[Python-checkins] cpython: Issue #13441: Enable the workaround for Solaris locale bug

victor.stinner python-checkins at python.org
Fri Dec 9 11:29:13 CET 2011


http://hg.python.org/cpython/rev/7ffe3d304487
changeset:   73903:7ffe3d304487
user:        Victor Stinner <vstinner at wyplay.com>
date:        Fri Dec 09 11:29:44 2011 +0100
summary:
  Issue #13441: Enable the workaround for Solaris locale bug

Skip locales triggering the mbstowcs() bug. I collected the locale list thanks
my previous commit:

 * hu_HU (ISO8859-2): character U+30000020
 * de_AT (ISO8859-1): character U+30000076
 * cs_CZ (ISO8859-2): character U+30000020
 * sk_SK (ISO8859-2): character U+30000020
 * pl_PL (ISO8859-2): character U+30000020
 * fr_CA (ISO8859-1): character U+30000020

files:
  Lib/test/test__locale.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test__locale.py b/Lib/test/test__locale.py
--- a/Lib/test/test__locale.py
+++ b/Lib/test/test__locale.py
@@ -48,7 +48,7 @@
                       % (loc, encoding, type(err), err))
             else:
                 locales.append(loc)
-        #candidate_locales = locales
+        candidate_locales = locales
     finally:
         locale.setlocale(locale.LC_ALL, old_locale)
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list