PythonCharmers/python-future

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

Open

#163 创建于 2015年8月19日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Python (1,172 star) (327 fork)batch import
0.19bughelp wanted

描述

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.

贡献者指南

Python 3.4 HTMLParser constructor has a convert_charrefs argument, which Python 3.5 warns about · PythonCharmers/python-future#163 | Good First Issue