-
Notifications
You must be signed in to change notification settings - Fork 13
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
Linter fails in Python 3.5.0 #8
Comments
It replaces the use of attrfind in favor of attrfind_tolerant, as the former was removed in python 3.5. Fixes deezer#8.
It replaces the use of attrfind in favor of attrfind_tolerant, as the former was removed in python 3.5. Fixes deezer#8.
It replaces the use of attrfind in favor of attrfind_tolerant, as the former was removed in python 3.5. Fixes deezer#8.
It replaces the use of attrfind in favor of attrfind_tolerant, as the former was removed in python 3.5. For python 2 and pypy, we fallback to attrfind as attrfind_tolerant is not available. For python 3.4 and 3.5 we set convert_charrefs to False. Python 3.5 sets its by default to True, which does not allow to introspect their value. Fixes deezer#8.
This was fixed in my fork, which is now the active one. https://github.com/sk-/html-linter/pull/4. I will update the package on pypi in a few minutes. |
hi, forgot the update? |
Hi, the update should be there. It's version 0.2. I need to update the Did you grab the latest pypi version and checked the code is different than
|
Unfortunately
html_linter
does not currently work with Python 3.5, returning the following error:A quick Google search for the nature of this problem brought up this blog post, which seems to point to
HTMLParseError
having been deprecated in Python 3.5.0.This commit was pushed to fix this issue for
Django
. My project usesFlask
, though.Hope to see this get fixed! In the meantime I am using online HTML validators and fixing post-facto, which is inelegant; for the meantime, does anyone know of a good workaround?
The text was updated successfully, but these errors were encountered: