Skip to content

Commit

Permalink
upgrade to unicode 7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminp committed Jul 6, 2014
1 parent 1f6b103 commit 3032ed7
Show file tree
Hide file tree
Showing 7 changed files with 26,729 additions and 23,715 deletions.
8 changes: 4 additions & 4 deletions Doc/library/unicodedata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
4 changes: 2 additions & 2 deletions Lib/test/test_unicodedata.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
class UnicodeMethodsTest(unittest.TestCase):

# update this, if the database changes
expectedchecksum = 'e74e878de71b6e780ffac271785c3cb58f6251f3'
expectedchecksum = '618e2c1a22ee79d2235319709f16c50f987ee21f'

def test_method_checksum(self):
h = hashlib.sha1()
Expand Down Expand Up @@ -80,7 +80,7 @@ def tearDown(self):
class UnicodeFunctionsTest(UnicodeDatabaseTest):

# update this, if the database changes
expectedchecksum = 'f0b74d26776331cc7bdc3a4698f037d73f2cee2b'
expectedchecksum = '0f44b670846279c608f20e5b6eeb26e6a8ab1f07'
def test_function_checksum(self):
data = []
h = hashlib.sha1()
Expand Down
2 changes: 2 additions & 0 deletions Misc/NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
7,238 changes: 3,918 additions & 3,320 deletions Modules/unicodedata_db.h

Large diffs are not rendered by default.

40,478 changes: 21,211 additions & 19,267 deletions Modules/unicodename_db.h

Large diffs are not rendered by default.

2,712 changes: 1,591 additions & 1,121 deletions Objects/unicodetype_db.h

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Tools/unicode/makeunicodedata.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
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"
Expand Down

0 comments on commit 3032ed7

Please sign in to comment.