This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients doko, r.david.murray
Date 2009-04-04.01:09:56
SpamBayes Score 1.9112949e-07
Marked as misclassified No
Message-id <1238807400.34.0.467486178592.issue1633600@psf.upfronthosting.co.za>
In-reply-to
Content
rdmurray@backup:~/trunk>echo $LC_ALL
tr_TR
rdmurray@backup:~/trunk>./python
Python 2.7a0 (unknown, Apr  3 2009, 19:56:38) 
[GCC 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import string
>>> string.lowercase
'abcdefghijklmnopqrstuvwxyz'
>>> string.letters
'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
>>> import locale
>>> locale.setlocale(locale.LC_ALL, '')
'tr_TR'
>>> string.letters
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\xaa\xb5\xba\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff'
>>> string.lowercase
'abcdefghijklmnopqrstuvwxyz\xb5\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff'
>>> 

It's possible that the particular python version used in the bug report
had a bug, but if so it is no longer a problem.

Note that these attributes do not exist in the 3.x string module.
For background on this decision see eg:
http://www.mail-archive.com/python-3000@python.org/msg06518.html).
History
Date User Action Args
2009-04-04 01:10:00r.david.murraysetrecipients: + r.david.murray, doko
2009-04-04 01:10:00r.david.murraysetmessageid: <1238807400.34.0.467486178592.issue1633600@psf.upfronthosting.co.za>
2009-04-04 01:09:58r.david.murraylinkissue1633600 messages
2009-04-04 01:09:56r.david.murraycreate