HTMLParserError have been removed from python3.5
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Beautiful Soup |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
As say the title, HTMLParserError exception have been removed from python3.5. To reproduce the bug install python3.5 and run it in the command line, then just import bs4.
>>> import bs4
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/
from .builder import builder_registry, ParserRejectedM
File "/home/
from . import _htmlparser
File "/home/
from html.parser import (
ImportError: cannot import name 'HTMLParseError'
See also https:/
description: | updated |
Changed in beautifulsoup: | |
status: | Fix Committed → Fix Released |
Fixed in revision 363.