Message358604
Steps to reproduce:
>>> import string
>>> string.letters
'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
>>> help(string)
......
>>> string.letters
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'
The help(string) can also be replaced with locale.setlocale(locale.LC_CTYPE, "en_US.UTF-8")
What's happening here is that any call to setlocale() (which help() calls internally) recomputes string.letters. The recomputation flips the order in the current implementation. |
|
Date |
User |
Action |
Args |
2019-12-18 01:45:28 | Manishearth | set | recipients:
+ Manishearth |
2019-12-18 01:45:28 | Manishearth | set | messageid: <1576633528.14.0.930532068678.issue39084@roundup.psfhosted.org> |
2019-12-18 01:45:28 | Manishearth | link | issue39084 messages |
2019-12-18 01:45:28 | Manishearth | create | |
|