[Python-checkins] [3.9] bpo-27032, bpo-37328: Document removing HTMLParser.unescape() (GH-22288)
Terry Jan Reedy
webhook-mailer at python.org
Thu Sep 17 20:47:44 EDT 2020
https://github.com/python/cpython/commit/4daeb9eec294f73a5811ef6ab3a0f8e61174a24c
commit: 4daeb9eec294f73a5811ef6ab3a0f8e61174a24c
branch: 3.9
author: Terry Jan Reedy <tjreedy at udel.edu>
committer: GitHub <noreply at github.com>
date: 2020-09-17T20:47:22-04:00
summary:
[3.9] bpo-27032, bpo-37328: Document removing HTMLParser.unescape() (GH-22288)
(cherry picked from commit a33f2c2bae759fc9d06e1c032fd2026135f2df45)
Co-authored-by: Serhiy Storchaka <storchaka at gmail.com>
files:
M Doc/whatsnew/3.9.rst
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index 2b7cbaa48531a..40c1592af4d5c 100644
--- a/Doc/whatsnew/3.9.rst
+++ b/Doc/whatsnew/3.9.rst
@@ -892,6 +892,11 @@ Removed
:func:`asyncio.current_task` and :func:`asyncio.all_tasks` instead.
(Contributed by Rémi Lapeyre in :issue:`40967`)
+* The ``unescape()`` method in the :class:`html.parser.HTMLParser` class
+ has been removed (it was deprecated since Python 3.4). :func:`html.unescape`
+ should be used for converting character references to the corresponding
+ unicode characters.
+
Porting to Python 3.9
=====================
More information about the Python-checkins
mailing list