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

Tom Christiansen report at bugs.python.org
Sat Aug 27 01:55:59 CEST 2011


Tom Christiansen <tchrist at perl.com> added the comment:

Here’s my casing test suite; I thought I sent it in but the mux file here isn’t the full thing.

 It does several things, including letting you run it with regex vs re.  It also checks for the islower, etc functions. It has both simple and full (and turkic) maps and folds in it, but is configured to only check the simple versions for now.  The islower and isupper etc functions seem to be checking the wrong Unicode property.

Yes, it has my quaint Unixisms in it, because it needs to run with UTF-8 output, or you can't read what's going on.

----------
Added file: http://bugs.python.org/file23051/casing-tests.py

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


More information about the Python-bugs-list mailing list