]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Patch #415777: new grouping strategy.
authorMartin v. Löwis <martin@v.loewis.de>
Fri, 13 Apr 2001 08:09:50 +0000 (08:09 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Fri, 13 Apr 2001 08:09:50 +0000 (08:09 +0000)
commit88ad12afacb2b08b5d675be61f47c9244fba6825
tree11c33f6da93ea64129a0e465a95e0326372e3662
parent613b2222cf859561adf00ebd5f67d3fc9738f752
Patch #415777: new grouping strategy.
fixes bug #414940, and redoes the fix for #129417 in a different way.
It also fixes a number of other problems with locale-specific formatting:
If there is leading or trailing spaces, then no grouping should be applied
in the spaces, and the total length of the string should not be changed
due to grouping.
Also added test case which works only if the en_US locale is available.
Lib/locale.py
Lib/test/output/test_locale [new file with mode: 0644]
Lib/test/test_locale.py [new file with mode: 0644]