summaryrefslogtreecommitdiff
path: root/defusedxml/common.py
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2019-04-14 10:57:12 +0200
committerChristian Heimes <christian@python.org>2019-04-14 11:45:26 +0200
commit454e17f51b905574ce9fa1a9c112a5f5850d83fe (patch)
tree32c4da6a80355d6b40892758e703cd95e298fa83 /defusedxml/common.py
parent44586bdd49b04e0b600321e66db135ca1d0a914e (diff)
downloaddefusedxml-git-454e17f51b905574ce9fa1a9c112a5f5850d83fe.tar.gz
Deprecate html argument from Parsers
The defused XMLParse subclass no longer passes the html argument down to the XMLParse class. The argument has been deprecated and ignored for a long time. The DefusedXMLParser still takes a html argument. A deprecation warning is issued when the argument is False and a TypeError when it's True. Fixes: https://github.com/tiran/defusedxml/issues/34 Co-authored-by: Erik Cederstrand <erik@cederstrand.dk> Signed-off-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'defusedxml/common.py')
0 files changed, 0 insertions, 0 deletions