[Python-checkins] cpython: Add whatsnew section about the html package.

ezio.melotti python-checkins at python.org
Mon Nov 25 05:19:02 CET 2013


http://hg.python.org/cpython/rev/b2e917a6eb7b
changeset:   87533:b2e917a6eb7b
parent:      87531:0d5da548b80a
user:        Ezio Melotti <ezio.melotti at gmail.com>
date:        Mon Nov 25 06:18:47 2013 +0200
summary:
  Add whatsnew section about the html package.

files:
  Doc/whatsnew/3.4.rst |  21 +++++++++++++++++++++
  1 files changed, 21 insertions(+), 0 deletions(-)


diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -553,6 +553,27 @@
 (Contributed by Christian Heimes in :issue:`18582`)
 
 
+html
+----
+
+Added a new :func:`html.unescape` function that converts HTML5 character
+references to the corresponding Unicode characters.
+
+(Contributed by Ezio Melotti in :issue:`2927`)
+
+Added a new *convert_charrefs* keyword argument to
+:class:`~html.parser.HTMLParser` that, when ``True``, automatically converts
+all character references.  For backward-compatibility, its value defaults
+to ``False``, but it will change to ``True`` in future versions, so you
+are invited to set it explicitly and update your code to use this new feature.
+
+(Contributed by Ezio Melotti in :issue:`13633`)
+
+The *strict* argument of :class:`~html.parser.HTMLParser` is now deprecated.
+
+(Contributed by Ezio Melotti in :issue:`15114`)
+
+
 inspect
 -------
 

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


More information about the Python-checkins mailing list