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 belopolsky
Recipients antlong, belopolsky, ronaldoussoren
Date 2010-07-23.02:59:43
SpamBayes Score 3.0945407e-07
Marked as misclassified No
Message-id <1279853986.25.0.0687391882342.issue9335@psf.upfronthosting.co.za>
In-reply-to
Content
I can reproduce this in Apple's idle, but not in trunk or 2.7 versions.  I'll leave it open in case Ronald is interested.  Antlong also reports that this happens on windows, but I cannot verify that.

Here is my session copied from idle:


Python 2.5.3c1 (release25-maint, Dec 17 2008, 21:50:37) 
[GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin
Type "copyright", "credits" or "license()" for more information.

    ****************************************************************
    Personal firewall software may warn about the connection IDLE
    makes to its subprocess using this computer's internal loopback
    interface.  This connection is not visible on any external
    interface and no data is sent to or received from the Internet.
    ****************************************************************
    
IDLE 1.2.3c1      
>>> from string import letters
>>> 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'
>>> len(letters)
117
>>> 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'
>>> print _
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzᆰᄉᄎÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
>>> letters.isalpha()
True
>>> import locale
>>> locale.getlocale()
('en_US', 'UTF8')
>>> locale.setlocale(locale.LC_CTYPE)
'en_US.UTF-8'
>>>
History
Date User Action Args
2010-07-23 02:59:46belopolskysetrecipients: + belopolsky, ronaldoussoren, antlong
2010-07-23 02:59:46belopolskysetmessageid: <1279853986.25.0.0687391882342.issue9335@psf.upfronthosting.co.za>
2010-07-23 02:59:44belopolskylinkissue9335 messages
2010-07-23 02:59:43belopolskycreate