Message334508
| Author |
HThompson |
| Recipients |
Arfrever, HThompson, docs@python, ezio.melotti, gvanrossum, mrabarnett, pitrou, tchrist, terry.reedy, vstinner |
| Date |
2019年01月29日.10:10:15 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1548756615.09.0.777541096001.issue12731@roundup.psfhosted.org> |
| In-reply-to |
| Content |
This issue is also implicated in a failure of isalpha and friends.
Easy way to see this is to compare
>>> isalpha('İ')
True
>>> isalpha('İ'.lower())
False
This results from the use of a combining character to encode lower-case Turkish dotted i:
>>> len('İ'.lower())
2
>>> unicodedata.category('İ'.lower()[1])
'Mn' |
|