Message206675
When Tools/i18n/makelocalealias.py was ported to Python 3 some things were not fixed.
1. locale.alias is opened as binary file in Python 2, but as text file (with locale encoding) in Python 3. This can cause fail when the script runs in UTF-8 locale because locale.alias contains non-ASCII locales ('bokmål' and 'français', encoded in Latin1).
2. In Python 2 %r formatting always produce ASCII output. In Python 3 %a should be used to produce the same output.
Proposed patch fixes these minor bugs. |
|
Date |
User |
Action |
Args |
2013-12-20 11:05:01 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, lemburg, loewis |
2013-12-20 11:05:01 | serhiy.storchaka | set | messageid: <1387537501.53.0.333984460427.issue20033@psf.upfronthosting.co.za> |
2013-12-20 11:05:01 | serhiy.storchaka | link | issue20033 messages |
2013-12-20 11:05:01 | serhiy.storchaka | create | |
|