mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Revert Unicode UCD 5.2 upgrade in 3.x. It broke repr() for unicode objects, and gave failures in test_bigmem. Revert 79062, 79065 and 79083.
This commit is contained in:
parent
3ab1fa6102
commit
f1789dee30
6 changed files with 19509 additions and 22027 deletions
|
@ -21,7 +21,7 @@ errors = 'surrogatepass'
|
||||||
class UnicodeMethodsTest(unittest.TestCase):
|
class UnicodeMethodsTest(unittest.TestCase):
|
||||||
|
|
||||||
# update this, if the database changes
|
# update this, if the database changes
|
||||||
expectedchecksum = '4504dffd035baea02c5b9de82bebc3d65e0e0baf'
|
expectedchecksum = '0b915116051f3ed029a98542c2b7df63c9646272'
|
||||||
|
|
||||||
def test_method_checksum(self):
|
def test_method_checksum(self):
|
||||||
h = hashlib.sha1()
|
h = hashlib.sha1()
|
||||||
|
@ -80,7 +80,7 @@ class UnicodeDatabaseTest(unittest.TestCase):
|
||||||
class UnicodeFunctionsTest(UnicodeDatabaseTest):
|
class UnicodeFunctionsTest(UnicodeDatabaseTest):
|
||||||
|
|
||||||
# update this, if the database changes
|
# update this, if the database changes
|
||||||
expectedchecksum = '6ccf1b1a36460d2694f9b0b0f0324942fe70ede6'
|
expectedchecksum = 'd4169ccff998ebbd1ec007a0b3fbd66e5ccf0229'
|
||||||
|
|
||||||
def test_function_checksum(self):
|
def test_function_checksum(self):
|
||||||
data = []
|
data = []
|
||||||
|
|
|
@ -290,8 +290,6 @@ Library
|
||||||
- ``tokenize.detect_encoding`` now returns ``'utf-8-sig'`` when a UTF-8 BOM is
|
- ``tokenize.detect_encoding`` now returns ``'utf-8-sig'`` when a UTF-8 BOM is
|
||||||
detected.
|
detected.
|
||||||
|
|
||||||
- Issue #8024: Update the Unicode database to 5.2.
|
|
||||||
|
|
||||||
- Issue #6716/2: Backslash-replace error output in compilall.
|
- Issue #6716/2: Backslash-replace error output in compilall.
|
||||||
|
|
||||||
- Issue #4961: Inconsistent/wrong result of askyesno function in tkMessageBox
|
- Issue #4961: Inconsistent/wrong result of askyesno function in tkMessageBox
|
||||||
|
|
File diff suppressed because it is too large
Load diff
31967
Modules/unicodename_db.h
31967
Modules/unicodename_db.h
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -31,7 +31,7 @@ SCRIPT = sys.argv[0]
|
||||||
VERSION = "2.6"
|
VERSION = "2.6"
|
||||||
|
|
||||||
# The Unicode Database
|
# The Unicode Database
|
||||||
UNIDATA_VERSION = "5.2.0"
|
UNIDATA_VERSION = "5.1.0"
|
||||||
UNICODE_DATA = "UnicodeData%s.txt"
|
UNICODE_DATA = "UnicodeData%s.txt"
|
||||||
COMPOSITION_EXCLUSIONS = "CompositionExclusions%s.txt"
|
COMPOSITION_EXCLUSIONS = "CompositionExclusions%s.txt"
|
||||||
EASTASIAN_WIDTH = "EastAsianWidth%s.txt"
|
EASTASIAN_WIDTH = "EastAsianWidth%s.txt"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue