Comment 24 for bug 223281

Revision history for this message
Jonathan Marsden (jmarsden) wrote :

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.