[issue8307] test_pep263 failure on OS X

Mark Dickinson report at bugs.python.org
Sun Apr 4 00:14:01 CEST 2010

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))
[34999 refs]
>>> import Tkinter
[51283 refs]
>>> str.isalpha(chr(255))
[51283 refs]

(Is there some way that I can see the locale change more explicitly from Python?)


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list