tiran/defusedxml

import defusedxml.lxml.html

spaceone opened this issue · 1 comments

I get an error when trying to use lxml:

>>> import defusedxml.lxml.html
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named html
tiran commented

Thanks for reporting the issue.

The defusedxml.lxml module was never designed as production code or fall wrapper around lxml. It's merely an example and proof of concept. I have deprecated the module in the upcoming 0.6 release and plan to remove it in 0.7.

Any security issue should be fixed in lxml instead.