Message191738
There has been a relatively recent discussion of case mappings under #12753 (msg144836).
I personally agree with Martin: str.upper/lower should remain the way it is - a simplistic 1-to-1 mapping using UnicodeData.txt fields. More sophisticated case mapping algorithms belong to a specialized library module not python core.
The behavior of .title() and .capitalize() is harder to defend, so if someone can point out to a python library (PyICU?) that gets it right we can reference it in the documentation. |
|
Date |
User |
Action |
Args |
2013-06-23 22:52:54 | belopolsky | set | recipients:
+ belopolsky, lemburg, loewis, rhettinger, senn, ezio.melotti, alexs |
2013-06-23 22:52:54 | belopolsky | set | messageid: <1372027974.81.0.239544434741.issue4610@psf.upfronthosting.co.za> |
2013-06-23 22:52:54 | belopolsky | link | issue4610 messages |
2013-06-23 22:52:54 | belopolsky | create | |
|