Message191738
| Author |
belopolsky |
| Recipients |
alexs, belopolsky, ezio.melotti, lemburg, loewis, rhettinger, senn |
| Date |
2013年06月23日.22:52:54 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1372027974.81.0.239544434741.issue4610@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|