[issue6412] Titlecase as defined in Unicode Case Mappings not followed

Christoph Burgmer report at bugs.python.org
Sat Jul 4 01:21:01 CEST 2009


Christoph Burgmer <cburgmer at ira.uka.de> added the comment:

Adding a incomplete patch in need of a function
Py_UNICODE_ISCASEIGNORABLE defining the case-ignorable class.

I don't want to touch capitalize() as I don't fully understand the
semantics, where it is different to title(). It seems though following
UTR#21 not the first character should be uppercased, but the first
character with casing.

----------
Added file: http://bugs.python.org/file14444/unicodeobject.titlecase.diff

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


More information about the Python-bugs-list mailing list