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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to