diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-11-25 04:18:47 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-11-25 04:18:47 (GMT) |
commit | 250a06c3cb8586e4a670fdb038ba105a409c8de8 (patch) | |
tree | f7004ac8155fde195d78204451b6979e60228994 | |
parent | 5833c00427651c2b7d99c663da81df9418a6bc83 (diff) | |
download | cpython-250a06c3cb8586e4a670fdb038ba105a409c8de8.zip cpython-250a06c3cb8586e4a670fdb038ba105a409c8de8.tar.gz cpython-250a06c3cb8586e4a670fdb038ba105a409c8de8.tar.bz2 |
Add whatsnew section about the html package.
-rw-r--r-- | 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 index a47297d..af3c35f 100644 --- a/Doc/whatsnew/3.4.rst +++ b/Doc/whatsnew/3.4.rst @@ -553,6 +553,27 @@ New :func:`hashlib.pbkdf2_hmac` function. (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 ------- |