-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
bpo-37328: remove deprecated HTMLParser.unescape #14186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
It is deprecated since Python 3.4
Oh! setuptools still depends on this, accidentally. |
pypa/setuptools#1788 is fixed. |
@@ -9,7 +9,6 @@ | |||
|
|||
|
|||
import re | |||
import warnings | |||
import _markupbase | |||
|
|||
from html import unescape |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this could be removed too if it's no longer needed (even though removing it might break some code if people are doing from html.parser import unescape
instead of from html import unescape
).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unescape
is used in this module several times.
#15483 bumps the setuptools version, so that'll unblock this once merged. |
It is deprecated since Python 3.4.
It is deprecated since Python 3.4.
It is deprecated since Python 3.4.
It is deprecated since Python 3.4
https://bugs.python.org/issue37328