Skip to content
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

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

Open
jayvdb opened this issue Aug 19, 2015 · 1 comment

Comments

@jayvdb
Copy link

jayvdb commented Aug 19, 2015

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.
@xZise
Copy link
Contributor

xZise commented Aug 20, 2015

The warning is actually already issued in 3.4.2: https://travis-ci.org/wikimedia/pywikibot-core/jobs/76368618#L3230

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants