diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2000-09-25 23:03:34 (GMT) |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2000-09-25 23:03:34 (GMT) |
commit | 375732cd41326fd81c5bc15d7c0e0945992b1939 (patch) | |
tree | 81c5148dede23a00c4beeb78bcec2a01d3b057b6 | |
parent | f1fcc81a01c344ecad52156adb4a327bc2a005ea (diff) | |
download | cpython-375732cd41326fd81c5bc15d7c0e0945992b1939.zip cpython-375732cd41326fd81c5bc15d7c0e0945992b1939.tar.gz cpython-375732cd41326fd81c5bc15d7c0e0945992b1939.tar.bz2 |
- don't set the titlecase flag for uppercase letters (sorry, tim)
-rw-r--r-- | Objects/unicodetype_db.h | 80 | ||||
-rw-r--r-- | Tools/unicode/makeunicodedata.py | 4 |
2 files changed, 42 insertions, 42 deletions
diff --git a/Objects/unicodetype_db.h b/Objects/unicodetype_db.h index dbc278c..4d2fd7d 100644 --- a/Objects/unicodetype_db.h +++ b/Objects/unicodetype_db.h @@ -1,4 +1,4 @@ -/* this file was generated by tools\unicode\makeunicodedata.py 1.1 */ +/* this file was generated by Tools\unicode\makeunicodedata.py 1.1 */ /* a list of unique character type descriptors */ const _PyUnicode_TypeRecord _PyUnicode_TypeRecords[] = { @@ -16,40 +16,40 @@ const _PyUnicode_TypeRecord _PyUnicode_TypeRecords[] = { {6, 0, 0, 0, 7, 7}, {6, 0, 0, 0, 8, 8}, {6, 0, 0, 0, 9, 9}, - {193, 0, 32, 0, 0, 0}, + {129, 0, 32, 0, 0, 0}, {9, 65504, 0, 65504, 0, 0}, {9, 0, 0, 0, 0, 0}, {9, 743, 0, 743, 0, 0}, {9, 121, 0, 121, 0, 0}, - {193, 0, 1, 0, 0, 0}, + {129, 0, 1, 0, 0, 0}, {9, 65535, 0, 65535, 0, 0}, - {193, 0, 65337, 0, 0, 0}, + {129, 0, 65337, 0, 0, 0}, {9, 65304, 0, 65304, 0, 0}, - {193, 0, 65415, 0, 0, 0}, + {129, 0, 65415, 0, 0, 0}, {9, 65236, 0, 65236, 0, 0}, - {193, 0, 210, 0, 0, 0}, - {193, 0, 206, 0, 0, 0}, - {193, 0, 205, 0, 0, 0}, - {193, 0, 79, 0, 0, 0}, - {193, 0, 202, 0, 0, 0}, - {193, 0, 203, 0, 0, 0}, - {193, 0, 207, 0, 0, 0}, + {129, 0, 210, 0, 0, 0}, + {129, 0, 206, 0, 0, 0}, + {129, 0, 205, 0, 0, 0}, + {129, 0, 79, 0, 0, 0}, + {129, 0, 202, 0, 0, 0}, + {129, 0, 203, 0, 0, 0}, + {129, 0, 207, 0, 0, 0}, {9, 97, 0, 97, 0, 0}, - {193, 0, 211, 0, 0, 0}, - {193, 0, 209, 0, 0, 0}, - {193, 0, 213, 0, 0, 0}, - {193, 0, 214, 0, 0, 0}, - {193, 0, 218, 0, 0, 0}, - {193, 0, 217, 0, 0, 0}, - {193, 0, 219, 0, 0, 0}, + {129, 0, 211, 0, 0, 0}, + {129, 0, 209, 0, 0, 0}, + {129, 0, 213, 0, 0, 0}, + {129, 0, 214, 0, 0, 0}, + {129, 0, 218, 0, 0, 0}, + {129, 0, 217, 0, 0, 0}, + {129, 0, 219, 0, 0, 0}, {1, 0, 0, 0, 0, 0}, {9, 56, 0, 56, 0, 0}, - {193, 0, 2, 1, 0, 0}, + {129, 0, 2, 1, 0, 0}, {65, 65535, 1, 0, 0, 0}, {9, 65534, 0, 65535, 0, 0}, {9, 65457, 0, 65457, 0, 0}, - {193, 0, 65439, 0, 0, 0}, - {193, 0, 65480, 0, 0, 0}, + {129, 0, 65439, 0, 0, 0}, + {129, 0, 65480, 0, 0, 0}, {9, 65326, 0, 65326, 0, 0}, {9, 65330, 0, 65330, 0, 0}, {9, 65331, 0, 65331, 0, 0}, @@ -64,10 +64,10 @@ const _PyUnicode_TypeRecord _PyUnicode_TypeRecords[] = { {9, 65319, 0, 65319, 0, 0}, {9, 65317, 0, 65317, 0, 0}, {0, 84, 0, 84, 0, 0}, - {193, 0, 38, 0, 0, 0}, - {193, 0, 37, 0, 0, 0}, - {193, 0, 64, 0, 0, 0}, - {193, 0, 63, 0, 0, 0}, + {129, 0, 38, 0, 0, 0}, + {129, 0, 37, 0, 0, 0}, + {129, 0, 64, 0, 0, 0}, + {129, 0, 63, 0, 0, 0}, {9, 65498, 0, 65498, 0, 0}, {9, 65499, 0, 65499, 0, 0}, {9, 65505, 0, 65505, 0, 0}, @@ -75,17 +75,17 @@ const _PyUnicode_TypeRecord _PyUnicode_TypeRecords[] = { {9, 65473, 0, 65473, 0, 0}, {9, 65474, 0, 65474, 0, 0}, {9, 65479, 0, 65479, 0, 0}, - {193, 0, 0, 0, 0, 0}, + {129, 0, 0, 0, 0, 0}, {9, 65489, 0, 65489, 0, 0}, {9, 65482, 0, 65482, 0, 0}, {9, 65450, 0, 65450, 0, 0}, {9, 65456, 0, 65456, 0, 0}, - {193, 0, 80, 0, 0, 0}, - {193, 0, 48, 0, 0, 0}, + {129, 0, 80, 0, 0, 0}, + {129, 0, 48, 0, 0, 0}, {9, 65488, 0, 65488, 0, 0}, {9, 65477, 0, 65477, 0, 0}, {9, 8, 0, 8, 0, 0}, - {193, 0, 65528, 0, 0, 0}, + {129, 0, 65528, 0, 0, 0}, {9, 74, 0, 74, 0, 0}, {9, 86, 0, 86, 0, 0}, {9, 100, 0, 100, 0, 0}, @@ -94,19 +94,19 @@ const _PyUnicode_TypeRecord _PyUnicode_TypeRecords[] = { {9, 126, 0, 126, 0, 0}, {65, 0, 65528, 0, 0, 0}, {9, 9, 0, 9, 0, 0}, - {193, 0, 65462, 0, 0, 0}, + {129, 0, 65462, 0, 0, 0}, {65, 0, 65527, 0, 0, 0}, {9, 58331, 0, 58331, 0, 0}, - {193, 0, 65450, 0, 0, 0}, - {193, 0, 65436, 0, 0, 0}, + {129, 0, 65450, 0, 0, 0}, + {129, 0, 65436, 0, 0, 0}, {9, 7, 0, 7, 0, 0}, - {193, 0, 65424, 0, 0, 0}, - {193, 0, 65529, 0, 0, 0}, - {193, 0, 65408, 0, 0, 0}, - {193, 0, 65410, 0, 0, 0}, - {193, 0, 58019, 0, 0, 0}, - {193, 0, 57153, 0, 0, 0}, - {193, 0, 57274, 0, 0, 0}, + {129, 0, 65424, 0, 0, 0}, + {129, 0, 65529, 0, 0, 0}, + {129, 0, 65408, 0, 0, 0}, + {129, 0, 65410, 0, 0, 0}, + {129, 0, 58019, 0, 0, 0}, + {129, 0, 57153, 0, 0, 0}, + {129, 0, 57274, 0, 0, 0}, {0, 0, 16, 0, 0, 0}, {0, 65520, 0, 65520, 0, 0}, {4, 0, 0, 0, 0, 1}, diff --git a/Tools/unicode/makeunicodedata.py b/Tools/unicode/makeunicodedata.py index c3f44a0..faca17f 100644 --- a/Tools/unicode/makeunicodedata.py +++ b/Tools/unicode/makeunicodedata.py @@ -8,7 +8,7 @@ # 2000-09-24 fl created (based on bits and pieces from unidb) # 2000-09-25 fl merged tim's splitbin fixes, separate decomposition table # 2000-09-25 fl added character type table -# 2000-09-26 fl added LINEBREAK flags +# 2000-09-26 fl added LINEBREAK, DECIMAL, and DIGIT flags/fields # # written by Fredrik Lundh (fredrik@pythonware.com), September 2000 # @@ -166,7 +166,7 @@ def maketables(): flags |= LINEBREAK_MASK if category == "Zs" or bidirectional in ("WS", "B", "S"): flags |= SPACE_MASK - if category in ["Lt", "Lu"]: + if category == "Lt": flags |= TITLE_MASK if category == "Lu": flags |= UPPER_MASK |