Message325646
Hey there,
I believe I've come across a bug. It occurs when you try to lower() the Turkish uppercase letter "İ". Gonna explain it with example code since it's easier:
>>> len("Ş")
1
>>> len("Ş".lower())
1
>>> len("Ğ")
1
>>> len("Ğ".lower())
1
>>> len("Ö")
1
>>> len("Ö".lower())
1
>>> len("Ç")
1
>>> len("Ç".lower())
1
>>> len("İ")
1
>>> len("İ".lower())
2
When you lower() the Turkish uppercase letter “İ”, it returns a 2 chars long string with the first character being “i”, and the second being chr(775).
Should it not simply return “i”? |
|
Date |
User |
Action |
Args |
2018-09-18 14:02:16 | zamsalak | set | recipients:
+ zamsalak, vstinner, ezio.melotti |
2018-09-18 14:02:16 | zamsalak | set | messageid: <1537279336.26.0.956365154283.issue34723@psf.upfronthosting.co.za> |
2018-09-18 14:02:16 | zamsalak | link | issue34723 messages |
2018-09-18 14:02:16 | zamsalak | create | |
|