Skip to content

Conversation

@methane
Copy link
Member

@methane methane commented Jun 18, 2019

It is deprecated since Python 3.4

https://bugs.python.org/issue37328

@methane
Copy link
Member Author

methane commented Jun 18, 2019

Oh! setuptools still depends on this, accidentally.

pypa/setuptools#1788

@methane
Copy link
Member Author

methane commented Jun 20, 2019

pypa/setuptools#1788 is fixed.
I wait new setuptools is released and bundled setuptools is upgraded to >=41.0.2

import warnings
import _markupbase

from html import unescape
Copy link
Member

@ezio-melotti ezio-melotti Jun 20, 2019

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).

Copy link
Member Author

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.

@brettcannon brettcannon added the type-bug An unexpected behavior, bug, or error label Jun 21, 2019
@pradyunsg
Copy link
Member

#15483 bumps the setuptools version, so that'll unblock this once merged.

@methane methane closed this Aug 27, 2019
@methane methane reopened this Aug 27, 2019
@methane methane merged commit fae0ed5 into python:master Aug 27, 2019
@methane methane deleted the remove-deprecated-unescape branch August 27, 2019 02:48
lisroach pushed a commit to lisroach/cpython that referenced this pull request Sep 10, 2019
DinoV pushed a commit to DinoV/cpython that referenced this pull request Jan 14, 2020
websurfer5 pushed a commit to websurfer5/cpython that referenced this pull request Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants