[New-bugs-announce] [issue18228] AIX locale parsing failure

David Edelsohn report at bugs.python.org
Sun Jun 16 06:03:15 CEST 2013

New submission from David Edelsohn:

All tests are failing for 3.x on AIX due to an error parsing the locale.  This is not failing on 3.3 branch.

  File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/regrtest.py", line 1292, in runtest_inner
    with saved_test_environment(test, verbose, quiet) as environment:
  File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/regrtest.py", line 1256, in __enter__
    in self.resource_info())
  File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/regrtest.py", line 1255, in <genexpr>
    self.saved_values = dict((name, get()) for name, get, restore
  File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/regrtest.py", line 1239, in get_locale
    pairings.append((lc, locale.getlocale(lc)))
  File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/locale.py", line 524, in getlocale
    return _parse_localename(localename)
  File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/locale.py", line 433, in _parse_localename
    raise ValueError('unknown locale: %s' % localename)
ValueError: unknown locale: C en_US C C C C

components: Library (Lib)
messages: 191257
nosy: David.Edelsohn
priority: normal
severity: normal
status: open
title: AIX locale parsing failure
type: behavior
versions: Python 3.4, Python 3.5

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list