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

Christoph Burgmer report at bugs.python.org
Tue Sep 29 12:40:30 CEST 2009


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

New patch
  - updated comments to reflect needed integration of
DerivedCoreProperties.txt
  - cleaned up if(...) construct
  - updated (from issue7008) and integrated testcase

When applying this patch, run Tools/unicode/makeunicodedata.py to
regenerate the header files.

Note though, that with this patch str and unicode objects will not
behave equally:
>>> s = "This isn't right"
>>> s.title() == unicode(s).title()
False

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

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


More information about the Python-bugs-list mailing list