PythonCharmers/python-future

Python 3.4 HTMLParser constructor has a convert_charrefs argument, which Python 3.5 warns about

Open

#163 opened on Aug 19, 2015

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Python (327 forks)batch import
0.19bughelp wanted

Repository metrics

Stars
 (1,172 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

The Python 3.4 convert_charrefs argument is missing from the Python 3.3 backport

https://github.com/PythonCharmers/python-future/blob/master/src/future/backports/html/parser.py#L122

Python 3.5 issues a warning if it is not used.

DeprecationWarning: The value of convert_charrefs will become True in 3.5. You are encouraged to set the value explicitly.

Contributor guide