summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2009-04-25 14:03:16 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2009-04-25 14:03:16 (GMT)
commit5d98ec76bb548ef65b6943c6eefd48eaabdbed90 (patch)
tree297888aa774109cfd45e15d0d12110491ef657c2 /Objects
parent140d9d673efdb33178fb4f93ece31bbc1d91ada0 (diff)
downloadcpython-5d98ec76bb548ef65b6943c6eefd48eaabdbed90.zip
cpython-5d98ec76bb548ef65b6943c6eefd48eaabdbed90.tar.gz
cpython-5d98ec76bb548ef65b6943c6eefd48eaabdbed90.tar.bz2
Issue #5828 (Invalid behavior of unicode.lower): Fixed bogus logic in
makeunicodedata.py and regenerated the Unicode database (This fixes u'\u1d79'.lower() == '\x00').
Diffstat (limited to 'Objects')
-rw-r--r--Objects/unicodetype_db.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/unicodetype_db.h b/Objects/unicodetype_db.h
index 4168f83..2e9c01b 100644
--- a/Objects/unicodetype_db.h
+++ b/Objects/unicodetype_db.h
@@ -118,7 +118,7 @@ const _PyUnicode_TypeRecord _PyUnicode_TypeRecords[] = {
{0, 0, 0, 0, 7, 4},
{0, 0, 0, 0, 8, 4},
{0, 0, 0, 0, 9, 4},
- {42877, 0, 42877, 0, 0, 265},
+ {42877, 7545, 42877, 0, 0, 265},
{3814, 0, 3814, 0, 0, 9},
{65477, 0, 65477, 0, 0, 9},
{0, 57921, 0, 0, 0, 129},
@@ -159,7 +159,7 @@ const _PyUnicode_TypeRecord _PyUnicode_TypeRecords[] = {
{0, 54787, 0, 0, 0, 129},
{0, 54753, 0, 0, 0, 129},
{58272, 0, 58272, 0, 0, 9},
- {0, 7545, 0, 0, 0, 385},
+ {42877, 7545, 42877, 0, 0, 385},
{0, 40, 0, 0, 0, 129},
{65496, 0, 65496, 0, 0, 9},
};