Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4c5475d

Browse files
committed
Merged revisions 79314 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r79314 | ezio.melotti | 2010-03-23 01:07:32 +0200 (Tue, 23 Mar 2010) | 1 line Update the version number of the Unicode Database in a few more places. ........
1 parent 910bd51 commit 4c5475d

4 files changed

Lines changed: 15 additions & 14 deletions

File tree

Doc/howto/unicode.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ These are grouped into categories such as "Letter", "Number", "Punctuation", or
403403
from the above output, ``'Ll'`` means 'Letter, lowercase', ``'No'`` means
404404
"Number, other", ``'Mn'`` is "Mark, nonspacing", and ``'So'`` is "Symbol,
405405
other". See
406-
<http://unicode.org/Public/5.1.0/ucd/UCD.html#General_Category_Values> for a
406+
<http://www.unicode.org/reports/tr44/#General_Category_Values> for a
407407
list of category codes.
408408

409409
References

Doc/library/unicodedata.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515

1616
This module provides access to the Unicode Character Database which defines
1717
character properties for all Unicode characters. The data in this database is
18-
based on the :file:`UnicodeData.txt` file version 5.1.0 which is publicly
18+
based on the :file:`UnicodeData.txt` file version 5.2.0 which is publicly
1919
available from ftp://ftp.unicode.org/.
2020

2121
The module uses the same names and symbols as defined by the UnicodeData File
22-
Format 5.1.0 (see http://www.unicode.org/Public/5.1.0/ucd/UCD.html). It defines
23-
the following functions:
22+
Format 5.2.0 (see http://www.unicode.org/reports/tr44/). It defines the
23+
following functions:
2424

2525

2626
.. function:: lookup(name)

Doc/whatsnew/2.7.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -933,11 +933,13 @@ changes, or look through the Subversion logs for all the details.
933933
a timeout was provided and the operation timed out.
934934
(Contributed by Tim Lesher; :issue:`1674032`.)
935935

936-
* The Unicode database provided by the :mod:`unicodedata` module
937-
remains at version 5.1.0, but Python now uses it internally to
938-
determine which characters are numeric, whitespace, or represent
939-
line breaks. The database also now includes information from the
940-
:file:`Unihan.txt` data file. (Patch by Anders Chrigström
936+
* The Unicode database has been updated to the version 5.2.0.
937+
(Updated by Florent Xicluna; :issue:`8024`.)
938+
939+
* The Unicode database provided by the :mod:`unicodedata` is used
940+
internally to determine which characters are numeric, whitespace,
941+
or represent line breaks. The database also now includes information
942+
from the :file:`Unihan.txt` data file. (Patch by Anders Chrigström
941943
and Amaury Forgeot d'Arc; :issue:`1571184`.)
942944

943945
* The :class:`UserDict` class is now a new-style class. (Changed by

Modules/unicodedata.c

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/* ------------------------------------------------------------------------
22
3-
unicodedata -- Provides access to the Unicode 5.1 data base.
3+
unicodedata -- Provides access to the Unicode 5.2 data base.
44
5-
Data was extracted from the Unicode 5.1 UnicodeData.txt file.
5+
Data was extracted from the Unicode 5.2 UnicodeData.txt file.
66
77
Written by Marc-Andre Lemburg ([email protected]).
88
Modified for Python 2.0 by Fredrik Lundh ([email protected])
@@ -1235,11 +1235,10 @@ PyDoc_STRVAR(unicodedata_docstring,
12351235
"This module provides access to the Unicode Character Database which\n\
12361236
defines character properties for all Unicode characters. The data in\n\
12371237
this database is based on the UnicodeData.txt file version\n\
1238-
5.1.0 which is publically available from ftp://ftp.unicode.org/.\n\
1238+
5.2.0 which is publically available from ftp://ftp.unicode.org/.\n\
12391239
\n\
12401240
The module uses the same names and symbols as defined by the\n\
1241-
UnicodeData File Format 5.1.0 (see\n\
1242-
http://www.unicode.org/Public/5.1.0/ucd/UCD.html).");
1241+
UnicodeData File Format 5.2.0 (see http://www.unicode.org/reports/tr44/).");
12431242

12441243

12451244
static struct PyModuleDef unicodedatamodule = {

0 commit comments

Comments
 (0)