Martin v. Löwis mar...@v.loewis.de added the comment:
Actually, in Python 2.x, string.letters *does* contain the letters based on the
locale. Just make sure to call locale.setlocale.
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
Ah, right. I was misled by examples from another ticket and did not verify.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9336
R. David Murray rdmur...@bitdance.com added the comment:
This would involve too much of a behavior change to be introduced in a point
release. string.letters does not exist in py3k. Closing as out of date.
--
nosy: +r.david.murray
resolution: - out of date
stage: -
New submission from Anthony Long antl...@gmail.com:
string.letters should display the locale based equivalent of a-Z.
In enUS this would be a-z A-Z, in total a len of 52, whereas in spain it would
be a-z (with ñ), and A-Z (Ñ).
Each locale should change the returned letters.