wxPython redefines string.letters?

Erno Kuusela erno-news at erno.iki.fi
Tue Apr 2 20:57:50 EST 2002


In article <8351bb33.0204020854.272eaa7b at posting.google.com>,
jkn at nicorp.f9.co.uk (Jon Nicoll) writes:

|>>> from wxPython.wx import *
|>>> string.letters
| 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\x83\x8a\x8c\x8e[...]

not to defend wxPython setting the locale behind your back, but
generally you should be using string.ascii_letters (& friends)
if you aren't prepared to handle locales being in use.

  -- erno



More information about the Python-list mailing list