upgrade to unicode 7.0.0

This commit is contained in:
Benjamin Peterson 2014-07-06 13:04:20 -07:00
parent 1f6b103440
commit 3032ed7cb1
7 changed files with 27680 additions and 24666 deletions

View File

@ -15,8 +15,8 @@
This module provides access to the Unicode Character Database (UCD) which
defines character properties for all Unicode characters. The data contained in
this database is compiled from the `UCD version 6.3.0
<http://www.unicode.org/Public/6.3.0/ucd>`_.
this database is compiled from the `UCD version 7.0.0
<http://www.unicode.org/Public/7.0.0/ucd>`_.
The module uses the same names and symbols as defined by Unicode
Standard Annex #44, `"Unicode Character Database"
@ -166,6 +166,6 @@ Examples:
.. rubric:: Footnotes
.. [#] http://www.unicode.org/Public/6.3.0/ucd/NameAliases.txt
.. [#] http://www.unicode.org/Public/7.0.0/ucd/NameAliases.txt
.. [#] http://www.unicode.org/Public/6.3.0/ucd/NamedSequences.txt
.. [#] http://www.unicode.org/Public/7.0.0/ucd/NamedSequences.txt

View File

@ -21,7 +21,7 @@ errors = 'surrogatepass'
class UnicodeMethodsTest(unittest.TestCase):
# update this, if the database changes
expectedchecksum = 'e74e878de71b6e780ffac271785c3cb58f6251f3'
expectedchecksum = '618e2c1a22ee79d2235319709f16c50f987ee21f'
def test_method_checksum(self):
h = hashlib.sha1()
@ -80,7 +80,7 @@ class UnicodeDatabaseTest(unittest.TestCase):
class UnicodeFunctionsTest(UnicodeDatabaseTest):
# update this, if the database changes
expectedchecksum = 'f0b74d26776331cc7bdc3a4698f037d73f2cee2b'
expectedchecksum = '0f44b670846279c608f20e5b6eeb26e6a8ab1f07'
def test_function_checksum(self):
data = []
h = hashlib.sha1()

View File

@ -10,6 +10,8 @@ Release date: TBA
Core and Builtins
-----------------
- Upgrade Unicode database to Unicode 7.0.0.
- Issue #21897: Fix a crash with the f_locals attribute with closure
variables when frame.clear() has been called.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -37,7 +37,7 @@ SCRIPT = sys.argv[0]
VERSION = "3.2"
# The Unicode Database
UNIDATA_VERSION = "6.3.0"
UNIDATA_VERSION = "7.0.0"
UNICODE_DATA = "UnicodeData%s.txt"
COMPOSITION_EXCLUSIONS = "CompositionExclusions%s.txt"
EASTASIAN_WIDTH = "EastAsianWidth%s.txt"