[Python-checkins] cpython (3.3): #16245: Fix the value of a few entities in html.entities.html5.

ezio.melotti python-checkins at python.org
Tue Oct 23 15:54:37 CEST 2012


http://hg.python.org/cpython/rev/1eb1c6942ac8
changeset:   79916:1eb1c6942ac8
branch:      3.3
parent:      79913:8647b9c703d4
user:        Ezio Melotti <ezio.melotti at gmail.com>
date:        Tue Oct 23 15:51:27 2012 +0200
summary:
  #16245: Fix the value of a few entities in html.entities.html5.

files:
  Lib/html/entities.py |  24 ++++++++++++------------
  Misc/NEWS            |   2 ++
  2 files changed, 14 insertions(+), 12 deletions(-)


diff --git a/Lib/html/entities.py b/Lib/html/entities.py
--- a/Lib/html/entities.py
+++ b/Lib/html/entities.py
@@ -679,7 +679,7 @@
     'dopf;': '\U0001d555',
     'Dot;': '\xa8',
     'dot;': '\u02d9',
-    'DotDot;': '\u25cc\u20dc',
+    'DotDot;': '\u20dc',
     'doteq;': '\u2250',
     'doteqdot;': '\u2251',
     'DotEqual;': '\u2250',
@@ -706,7 +706,7 @@
     'downarrow;': '\u2193',
     'DownArrowBar;': '\u2913',
     'DownArrowUpArrow;': '\u21f5',
-    'DownBreve;': '\u25cc\u0311',
+    'DownBreve;': '\u0311',
     'downdownarrows;': '\u21ca',
     'downharpoonleft;': '\u21c3',
     'downharpoonright;': '\u21c2',
@@ -1130,9 +1130,9 @@
     'Lambda;': '\u039b',
     'lambda;': '\u03bb',
     'Lang;': '\u27ea',
-    'lang;': '\u2329',
+    'lang;': '\u27e8',
     'langd;': '\u2991',
-    'langle;': '\u2329',
+    'langle;': '\u27e8',
     'lap;': '\u2a85',
     'Laplacetrf;': '\u2112',
     'laquo': '\xab',
@@ -1177,7 +1177,7 @@
     'ldsh;': '\u21b2',
     'lE;': '\u2266',
     'le;': '\u2264',
-    'LeftAngleBracket;': '\u2329',
+    'LeftAngleBracket;': '\u27e8',
     'LeftArrow;': '\u2190',
     'Leftarrow;': '\u21d0',
     'leftarrow;': '\u2190',
@@ -1427,7 +1427,7 @@
     'nesim;': '\u2242\u0338',
     'NestedGreaterGreater;': '\u226b',
     'NestedLessLess;': '\u226a',
-    'NewLine;': '\u240a',
+    'NewLine;': '\n',
     'nexist;': '\u2204',
     'nexists;': '\u2204',
     'Nfr;': '\U0001d511',
@@ -1826,10 +1826,10 @@
     'radic;': '\u221a',
     'raemptyv;': '\u29b3',
     'Rang;': '\u27eb',
-    'rang;': '\u232a',
+    'rang;': '\u27e9',
     'rangd;': '\u2992',
     'range;': '\u29a5',
-    'rangle;': '\u232a',
+    'rangle;': '\u27e9',
     'raquo': '\xbb',
     'raquo;': '\xbb',
     'Rarr;': '\u21a0',
@@ -1897,7 +1897,7 @@
     'Rho;': '\u03a1',
     'rho;': '\u03c1',
     'rhov;': '\u03f1',
-    'RightAngleBracket;': '\u232a',
+    'RightAngleBracket;': '\u27e9',
     'RightArrow;': '\u2192',
     'Rightarrow;': '\u21d2',
     'rightarrow;': '\u2192',
@@ -2166,7 +2166,7 @@
     'swnwar;': '\u292a',
     'szlig': '\xdf',
     'szlig;': '\xdf',
-    'Tab;': '\u2409',
+    'Tab;': '\t',
     'target;': '\u2316',
     'Tau;': '\u03a4',
     'tau;': '\u03c4',
@@ -2177,7 +2177,7 @@
     'tcedil;': '\u0163',
     'Tcy;': '\u0422',
     'tcy;': '\u0442',
-    'tdot;': '\u25cc\u20db',
+    'tdot;': '\u20db',
     'telrec;': '\u2315',
     'Tfr;': '\U0001d517',
     'tfr;': '\U0001d531',
@@ -2231,7 +2231,7 @@
     'tridot;': '\u25ec',
     'trie;': '\u225c',
     'triminus;': '\u2a3a',
-    'TripleDot;': '\u25cc\u20db',
+    'TripleDot;': '\u20db',
     'triplus;': '\u2a39',
     'trisb;': '\u29cd',
     'tritime;': '\u2a3b',
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -46,6 +46,8 @@
 Library
 -------
 
+- Issue #16245: Fix the value of a few entities in html.entities.html5.
+
 - Issue #14398: Fix size truncation and overflow bugs in the bz2 module.
 
 - Issue #16220: wsgiref now always calls close() on an iterable response.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list