Author vstinner
Recipients ZooKeeper, lemburg, vstinner
Date 2008-11-13.14:52:31
SpamBayes Score 7.69787e-06
Marked as misclassified No
Message-id <1226587953.29.0.697513980235.issue4314@psf.upfronthosting.co.za>
In-reply-to
Content
Results on Linux:

With Python 2.7 trunk:
>>> print(', '.join('%s:%s' % (c, c.isalpha()) for c in u'абвгдеч'))
а:True, б:True, в:True, г:True, д:True, е:True, ч:True

With Python 2.5.1:
>>> print(', '.join('%s:%s' % (c, c.isalpha()) for c in u'абвгдеч'))
а:True, б:True, в:True, г:True, д:True, е:True, ч:True

With Python 3.0 trunk:
>>> print(', '.join('%s:%s' % (c, c.isalpha()) for c in 'абвгдеч'))
а:True, б:True, в:True, г:True, д:True, е:True, ч:True

Are you sure that you really typed the character "ч"? Can you retry 
using unichr(0x447).isalpha()?

Test with Python3:
>>> print(' - '.join((r"\u%04x" % x) for x in range(0x400, 0x4ff+1) if 
not chr(x).isalpha()))
\u0482 - \u0483 - \u0484 - \u0485 - \u0486 - \u0487 - \u0488 - \u0489

Which means that Python thinks that all unicode character in range 
U+0400..U+04ff are letters except the range U+0482..U+0489 (thousands 
sign ҂ to million sign ҉).
History
Date User Action Args
2008-11-13 14:52:33vstinnersetrecipients: + vstinner, lemburg, ZooKeeper
2008-11-13 14:52:33vstinnersetmessageid: <1226587953.29.0.697513980235.issue4314@psf.upfronthosting.co.za>
2008-11-13 14:52:32vstinnerlinkissue4314 messages
2008-11-13 14:52:31vstinnercreate