[issue12736] Request for python casemapping functions to use full not simple casemaps per Unicode's recommendation

Benjamin Peterson report at bugs.python.org
Sun Jan 8 04:54:30 CET 2012


Benjamin Peterson <benjamin at python.org> added the comment:

Here is a patch. I only dealt with case mappings and not titlecase. Doing titlecase properly requires word segmentation, which I think should be another patch/issue. This patch fixes swapcase(), capitalize(), upper(), and lower(). It does not include the changes to Objects/unicodetype_db.h because those are huge. Regenerate the database if you want to test it. Please review.

----------
keywords: +patch
nosy: +benjamin.peterson
Added file: http://bugs.python.org/file24171/full-casemapping.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12736>
_______________________________________


More information about the Python-bugs-list mailing list