[Bug 223281] Re: locale._parse_localename fails when localename does not contain encoding information (was: alacarte crashed with ValueError in _parse_localename() )

Jonathan Marsden jmarsden at fastmail.fm
Thu Dec 3 19:50:57 GMT 2009


Testing confirms that this code works fine for locales containing
@modifier.  On Ubuntu 9.10 Karmic Desktop, I ran

  # Install all available language packs (may take a while!)
  sudo apt-get install ^language-pack-\* 
  # Test every locale on the system
   for i in $(locale -a) ; do echo $i ; LANG=$i python2.6 -c "import locale ; print locale.getdefaultlocale()" || break ; done

This works (runs to completion, no python exceptions) with the patched
python2.6 installed.

-- 
locale._parse_localename fails when localename does not contain encoding information (was: alacarte crashed with ValueError in _parse_localename() )
https://bugs.launchpad.net/bugs/223281
You received this bug notification because you are a member of Ubuntu
Sponsors for main, which is a direct subscriber.



More information about the Ubuntu-main-sponsors mailing list