Mark Dickinson <dickinsm at gmail.com> added the comment:
After some more digging, it looks as though this is due to the Tkinter import (that ends up happening as a result of test___all__) changing the locale(?), and in particular the meaning of isalpha:
Python 2.7a4+ (trunk:79716, Apr 3 2010, 22:06:18)
[GCC 4.2.1 (Apple Inc. build 5646) (dot 1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> str.isalpha(chr(255))
False
[34999 refs]
>>> import Tkinter
[51283 refs]
>>> str.isalpha(chr(255))
True
[51283 refs]
(Is there some way that I can see the locale change more explicitly from Python?)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8307>
_______________________________________