From a3ead4cf65f2b8ab03dd9d2fe7d6d179d209db7e Mon Sep 17 00:00:00 2001
From: JinWang An
Date: Wed, 30 Dec 2020 10:18:37 +0900
Subject: [PATCH] Imported Upstream version 4.5.2
---
CHANGES.txt | 21 +
PKG-INFO | 21 +-
README.rst | 4 +-
doc/html/FAQ.html | 4 +-
doc/html/api.html | 4 +-
doc/html/api/abc.ABCMeta-class.html | 2 +-
doc/html/api/api-objects.txt | 177 +-
doc/html/api/class-tree.html | 2 +-
.../api/cssselect.parser.SelectorError-class.html | 2 +-
...cssselect.parser.SelectorSyntaxError-class.html | 2 +-
.../api/cssselect.xpath.ExpressionError-class.html | 2 +-
doc/html/api/cssselect.xpath.XPathExpr-class.html | 2 +-
doc/html/api/deprecated-index.html | 2 +-
doc/html/api/exceptions.AssertionError-class.html | 2 +-
doc/html/api/help.html | 2 +-
doc/html/api/identifier-index-A.html | 2 +-
doc/html/api/identifier-index-B.html | 2 +-
doc/html/api/identifier-index-C.html | 2 +-
doc/html/api/identifier-index-D.html | 2 +-
doc/html/api/identifier-index-E.html | 2 +-
doc/html/api/identifier-index-F.html | 2 +-
doc/html/api/identifier-index-G.html | 2 +-
doc/html/api/identifier-index-H.html | 2 +-
doc/html/api/identifier-index-I.html | 2 +-
doc/html/api/identifier-index-J.html | 2 +-
doc/html/api/identifier-index-K.html | 2 +-
doc/html/api/identifier-index-L.html | 2 +-
doc/html/api/identifier-index-M.html | 2 +-
doc/html/api/identifier-index-N.html | 2 +-
doc/html/api/identifier-index-O.html | 2 +-
doc/html/api/identifier-index-P.html | 2 +-
doc/html/api/identifier-index-Q.html | 2 +-
doc/html/api/identifier-index-R.html | 2 +-
doc/html/api/identifier-index-S.html | 2 +-
doc/html/api/identifier-index-T.html | 3255 ++--
doc/html/api/identifier-index-U.html | 2 +-
doc/html/api/identifier-index-V.html | 2 +-
doc/html/api/identifier-index-W.html | 2 +-
doc/html/api/identifier-index-X.html | 2 +-
doc/html/api/identifier-index-Y.html | 2 +-
doc/html/api/identifier-index-Z.html | 2 +-
doc/html/api/identifier-index-_.html | 18 +-
doc/html/api/identifier-index.html | 2 +-
doc/html/api/lxml-module.html | 10 +-
doc/html/api/lxml-pysrc.html | 41 +-
doc/html/api/lxml.ElementInclude-module.html | 2 +-
doc/html/api/lxml.ElementInclude-pysrc.html | 2 +-
...xml.ElementInclude.FatalIncludeError-class.html | 2 +-
...Include.LimitedRecursiveIncludeError-class.html | 2 +-
doc/html/api/lxml.builder-module.html | 42 +-
doc/html/api/lxml.builder-pysrc.html | 2 +-
doc/html/api/lxml.builder.ElementMaker-class.html | 34 +-
doc/html/api/lxml.cssselect-module.html | 2 +-
doc/html/api/lxml.cssselect-pysrc.html | 2 +-
doc/html/api/lxml.cssselect.CSSSelector-class.html | 2 +-
.../lxml.cssselect.LxmlHTMLTranslator-class.html | 2 +-
.../api/lxml.cssselect.LxmlTranslator-class.html | 2 +-
doc/html/api/lxml.doctestcompare-module.html | 2 +-
doc/html/api/lxml.doctestcompare-pysrc.html | 2 +-
...ml.doctestcompare.LHTMLOutputChecker-class.html | 2 +-
...xml.doctestcompare.LXMLOutputChecker-class.html | 2 +-
.../lxml.doctestcompare._RestoreChecker-class.html | 2 +-
doc/html/api/lxml.etree-module.html | 22 +-
.../api/lxml.etree.AncestorsIterator-class.html | 2 +-
...ree.AttributeBasedElementClassLookup-class.html | 2 +-
doc/html/api/lxml.etree.C14NError-class.html | 2 +-
.../api/lxml.etree.C14NWriterTarget-class.html | 2 +-
doc/html/api/lxml.etree.CDATA-class.html | 2 +-
doc/html/api/lxml.etree.CommentBase-class.html | 2 +-
.../lxml.etree.CustomElementClassLookup-class.html | 2 +-
doc/html/api/lxml.etree.DTD-class.html | 2 +-
doc/html/api/lxml.etree.DTDError-class.html | 2 +-
doc/html/api/lxml.etree.DTDParseError-class.html | 2 +-
.../api/lxml.etree.DTDValidateError-class.html | 2 +-
doc/html/api/lxml.etree.DocInfo-class.html | 2 +-
doc/html/api/lxml.etree.DocumentInvalid-class.html | 2 +-
.../api/lxml.etree.ETCompatXMLParser-class.html | 2 +-
doc/html/api/lxml.etree.ETXPath-class.html | 2 +-
doc/html/api/lxml.etree.ElementBase-class.html | 2 +-
.../api/lxml.etree.ElementChildIterator-class.html | 2 +-
.../api/lxml.etree.ElementClassLookup-class.html | 2 +-
...lxml.etree.ElementDefaultClassLookup-class.html | 2 +-
...lxml.etree.ElementDepthFirstIterator-class.html | 2 +-
...ml.etree.ElementNamespaceClassLookup-class.html | 2 +-
.../api/lxml.etree.ElementTextIterator-class.html | 2 +-
doc/html/api/lxml.etree.EntityBase-class.html | 2 +-
doc/html/api/lxml.etree.Error-class.html | 2 +-
doc/html/api/lxml.etree.ErrorDomains-class.html | 2 +-
doc/html/api/lxml.etree.ErrorLevels-class.html | 2 +-
doc/html/api/lxml.etree.ErrorTypes-class.html | 2 +-
...xml.etree.FallbackElementClassLookup-class.html | 2 +-
doc/html/api/lxml.etree.HTMLParser-class.html | 2 +-
doc/html/api/lxml.etree.HTMLPullParser-class.html | 2 +-
doc/html/api/lxml.etree.LxmlError-class.html | 2 +-
.../api/lxml.etree.LxmlRegistryError-class.html | 2 +-
doc/html/api/lxml.etree.LxmlSyntaxError-class.html | 2 +-
.../lxml.etree.NamespaceRegistryError-class.html | 2 +-
doc/html/api/lxml.etree.PIBase-class.html | 2 +-
doc/html/api/lxml.etree.ParseError-class.html | 2 +-
....etree.ParserBasedElementClassLookup-class.html | 2 +-
doc/html/api/lxml.etree.ParserError-class.html | 2 +-
doc/html/api/lxml.etree.PyErrorLog-class.html | 2 +-
.../lxml.etree.PythonElementClassLookup-class.html | 2 +-
doc/html/api/lxml.etree.QName-class.html | 2 +-
doc/html/api/lxml.etree.RelaxNG-class.html | 2 +-
doc/html/api/lxml.etree.RelaxNGError-class.html | 2 +-
.../api/lxml.etree.RelaxNGErrorTypes-class.html | 2 +-
.../api/lxml.etree.RelaxNGParseError-class.html | 2 +-
.../api/lxml.etree.RelaxNGValidateError-class.html | 2 +-
doc/html/api/lxml.etree.Resolver-class.html | 2 +-
doc/html/api/lxml.etree.Schematron-class.html | 2 +-
doc/html/api/lxml.etree.SchematronError-class.html | 2 +-
.../api/lxml.etree.SchematronParseError-class.html | 2 +-
.../lxml.etree.SchematronValidateError-class.html | 2 +-
.../api/lxml.etree.SerialisationError-class.html | 2 +-
.../api/lxml.etree.SiblingsIterator-class.html | 2 +-
doc/html/api/lxml.etree.TreeBuilder-class.html | 2 +-
doc/html/api/lxml.etree.XInclude-class.html | 2 +-
doc/html/api/lxml.etree.XIncludeError-class.html | 2 +-
doc/html/api/lxml.etree.XMLParser-class.html | 2 +-
doc/html/api/lxml.etree.XMLPullParser-class.html | 2 +-
doc/html/api/lxml.etree.XMLSchema-class.html | 2 +-
doc/html/api/lxml.etree.XMLSchemaError-class.html | 2 +-
.../api/lxml.etree.XMLSchemaParseError-class.html | 2 +-
.../lxml.etree.XMLSchemaValidateError-class.html | 2 +-
doc/html/api/lxml.etree.XMLSyntaxError-class.html | 2 +-
doc/html/api/lxml.etree.XPath-class.html | 2 +-
.../lxml.etree.XPathDocumentEvaluator-class.html | 2 +-
.../lxml.etree.XPathElementEvaluator-class.html | 2 +-
doc/html/api/lxml.etree.XPathError-class.html | 2 +-
doc/html/api/lxml.etree.XPathEvalError-class.html | 2 +-
.../api/lxml.etree.XPathFunctionError-class.html | 2 +-
.../api/lxml.etree.XPathResultError-class.html | 2 +-
.../api/lxml.etree.XPathSyntaxError-class.html | 2 +-
doc/html/api/lxml.etree.XSLT-class.html | 2 +-
.../api/lxml.etree.XSLTAccessControl-class.html | 2 +-
doc/html/api/lxml.etree.XSLTApplyError-class.html | 2 +-
doc/html/api/lxml.etree.XSLTError-class.html | 2 +-
doc/html/api/lxml.etree.XSLTExtension-class.html | 2 +-
.../api/lxml.etree.XSLTExtensionError-class.html | 2 +-
doc/html/api/lxml.etree.XSLTParseError-class.html | 2 +-
doc/html/api/lxml.etree.XSLTSaveError-class.html | 2 +-
doc/html/api/lxml.etree._Attrib-class.html | 2 +-
doc/html/api/lxml.etree._BaseErrorLog-class.html | 2 +-
doc/html/api/lxml.etree._Comment-class.html | 2 +-
doc/html/api/lxml.etree._Document-class.html | 2 +-
doc/html/api/lxml.etree._DomainErrorLog-class.html | 2 +-
doc/html/api/lxml.etree._Element-class.html | 2 +-
.../api/lxml.etree._ElementIterator-class.html | 2 +-
.../lxml.etree._ElementMatchIterator-class.html | 2 +-
.../api/lxml.etree._ElementStringResult-class.html | 2 +-
.../api/lxml.etree._ElementTagMatcher-class.html | 2 +-
doc/html/api/lxml.etree._ElementTree-class.html | 2 +-
.../lxml.etree._ElementUnicodeResult-class.html | 2 +-
doc/html/api/lxml.etree._Entity-class.html | 2 +-
doc/html/api/lxml.etree._ErrorLog-class.html | 2 +-
doc/html/api/lxml.etree._FeedParser-class.html | 2 +-
doc/html/api/lxml.etree._IDDict-class.html | 2 +-
doc/html/api/lxml.etree._ListErrorLog-class.html | 2 +-
doc/html/api/lxml.etree._LogEntry-class.html | 2 +-
.../lxml.etree._ProcessingInstruction-class.html | 2 +-
.../api/lxml.etree._RotatingErrorLog-class.html | 2 +-
.../api/lxml.etree._SaxParserTarget-class.html | 2 +-
.../api/lxml.etree._TargetParserResult-class.html | 2 +-
doc/html/api/lxml.etree._Validator-class.html | 2 +-
.../api/lxml.etree._XPathEvaluatorBase-class.html | 2 +-
...xml.etree._XSLTProcessingInstruction-class.html | 2 +-
doc/html/api/lxml.etree._XSLTResultTree-class.html | 2 +-
doc/html/api/lxml.etree.htmlfile-class.html | 2 +-
doc/html/api/lxml.etree.iterparse-class.html | 2 +-
doc/html/api/lxml.etree.iterwalk-class.html | 2 +-
doc/html/api/lxml.etree.xmlfile-class.html | 2 +-
doc/html/api/lxml.html-module.html | 2 +-
doc/html/api/lxml.html-pysrc.html | 2 +-
doc/html/api/lxml.html.CheckboxGroup-class.html | 2 +-
doc/html/api/lxml.html.CheckboxValues-class.html | 2 +-
doc/html/api/lxml.html.Classes-class.html | 2 +-
doc/html/api/lxml.html.ElementSoup-module.html | 2 +-
doc/html/api/lxml.html.ElementSoup-pysrc.html | 2 +-
doc/html/api/lxml.html.FieldsDict-class.html | 2 +-
doc/html/api/lxml.html.FormElement-class.html | 2 +-
doc/html/api/lxml.html.HTMLParser-class.html | 2 +-
doc/html/api/lxml.html.HtmlComment-class.html | 2 +-
doc/html/api/lxml.html.HtmlElement-class.html | 2 +-
.../lxml.html.HtmlElementClassLookup-class.html | 2 +-
doc/html/api/lxml.html.HtmlEntity-class.html | 2 +-
doc/html/api/lxml.html.HtmlMixin-class.html | 2 +-
.../lxml.html.HtmlProcessingInstruction-class.html | 2 +-
doc/html/api/lxml.html.InputElement-class.html | 2 +-
doc/html/api/lxml.html.InputGetter-class.html | 2 +-
doc/html/api/lxml.html.InputMixin-class.html | 2 +-
doc/html/api/lxml.html.LabelElement-class.html | 2 +-
.../api/lxml.html.MultipleSelectOptions-class.html | 2 +-
doc/html/api/lxml.html.RadioGroup-class.html | 2 +-
doc/html/api/lxml.html.SelectElement-class.html | 2 +-
doc/html/api/lxml.html.TextareaElement-class.html | 2 +-
doc/html/api/lxml.html.XHTMLParser-class.html | 2 +-
doc/html/api/lxml.html._MethodFunc-class.html | 2 +-
doc/html/api/lxml.html.builder-module.html | 2 +-
doc/html/api/lxml.html.builder-pysrc.html | 2 +-
doc/html/api/lxml.html.clean-module.html | 2 +-
doc/html/api/lxml.html.clean-pysrc.html | 1446 +-
doc/html/api/lxml.html.clean.Cleaner-class.html | 2 +-
doc/html/api/lxml.html.defs-module.html | 2 +-
doc/html/api/lxml.html.defs-pysrc.html | 2 +-
doc/html/api/lxml.html.diff-module.html | 2 +-
doc/html/api/lxml.html.diff-pysrc.html | 2 +-
doc/html/api/lxml.html.diff.DEL_END-class.html | 2 +-
doc/html/api/lxml.html.diff.DEL_START-class.html | 2 +-
...html.diff.InsensitiveSequenceMatcher-class.html | 2 +-
doc/html/api/lxml.html.diff.NoDeletes-class.html | 2 +-
doc/html/api/lxml.html.diff.href_token-class.html | 2 +-
doc/html/api/lxml.html.diff.tag_token-class.html | 2 +-
doc/html/api/lxml.html.diff.token-class.html | 2 +-
doc/html/api/lxml.html.formfill-module.html | 2 +-
doc/html/api/lxml.html.formfill-pysrc.html | 2 +-
...ml.html.formfill.DefaultErrorCreator-class.html | 2 +-
.../api/lxml.html.formfill.FormNotFound-class.html | 2 +-
doc/html/api/lxml.html.html5parser-module.html | 2 +-
doc/html/api/lxml.html.html5parser-pysrc.html | 2 +-
.../lxml.html.html5parser.HTMLParser-class.html | 2 +-
.../lxml.html.html5parser.XHTMLParser-class.html | 2 +-
doc/html/api/lxml.html.soupparser-module.html | 2 +-
doc/html/api/lxml.html.soupparser-pysrc.html | 2 +-
.../api/lxml.html.soupparser._PseudoTag-class.html | 2 +-
doc/html/api/lxml.html.usedoctest-module.html | 2 +-
doc/html/api/lxml.html.usedoctest-pysrc.html | 2 +-
doc/html/api/lxml.includes-module.html | 2 +-
doc/html/api/lxml.includes-pysrc.html | 2 +-
doc/html/api/lxml.isoschematron-module.html | 2 +-
doc/html/api/lxml.isoschematron-pysrc.html | 2 +-
.../api/lxml.isoschematron.Schematron-class.html | 2 +-
doc/html/api/lxml.objectify-module.html | 4 +-
doc/html/api/lxml.objectify.BoolElement-class.html | 2 +-
.../api/lxml.objectify.ElementMaker-class.html | 2 +-
.../api/lxml.objectify.FloatElement-class.html | 2 +-
doc/html/api/lxml.objectify.IntElement-class.html | 2 +-
doc/html/api/lxml.objectify.LongElement-class.html | 2 +-
doc/html/api/lxml.objectify.NoneElement-class.html | 2 +-
.../api/lxml.objectify.NumberElement-class.html | 2 +-
doc/html/api/lxml.objectify.ObjectPath-class.html | 2 +-
...xml.objectify.ObjectifiedDataElement-class.html | 2 +-
.../lxml.objectify.ObjectifiedElement-class.html | 2 +-
...bjectify.ObjectifyElementClassLookup-class.html | 2 +-
doc/html/api/lxml.objectify.PyType-class.html | 2 +-
.../api/lxml.objectify.StringElement-class.html | 2 +-
doc/html/api/lxml.pyclasslookup-module.html | 2 +-
doc/html/api/lxml.pyclasslookup-pysrc.html | 2 +-
doc/html/api/lxml.sax-module.html | 42 +-
doc/html/api/lxml.sax-pysrc.html | 2 +-
.../lxml.sax.ElementTreeContentHandler-class.html | 2 +-
.../api/lxml.sax.ElementTreeProducer-class.html | 34 +-
doc/html/api/lxml.sax.SaxError-class.html | 2 +-
doc/html/api/lxml.tests-module.html | 4 +-
doc/html/api/lxml.tests-pysrc.html | 2 +-
doc/html/api/lxml.tests.common_imports-module.html | 2 +-
doc/html/api/lxml.tests.common_imports-pysrc.html | 2 +-
....tests.common_imports.HelperTestCase-class.html | 2 +-
...l.tests.common_imports.LargeFileLike-class.html | 2 +-
....common_imports.LargeFileLikeUnicode-class.html | 2 +-
...l.tests.common_imports.SillyFileLike-class.html | 2 +-
.../lxml.tests.common_imports.skipif-class.html | 2 +-
.../api/lxml.tests.dummy_http_server-module.html | 2 +-
.../api/lxml.tests.dummy_http_server-pysrc.html | 2 +-
...mmy_http_server.HTTPRequestCollector-class.html | 2 +-
...ml.tests.dummy_http_server.WebServer-class.html | 2 +-
...ts.dummy_http_server._RequestHandler-class.html | 2 +-
doc/html/api/lxml.tests.selftest-module.html | 2 +-
doc/html/api/lxml.tests.selftest-pysrc.html | 2 +-
doc/html/api/lxml.tests.selftest2-module.html | 2 +-
doc/html/api/lxml.tests.selftest2-pysrc.html | 2 +-
doc/html/api/lxml.tests.test_builder-module.html | 48 +-
doc/html/api/lxml.tests.test_builder-pysrc.html | 181 +-
...l.tests.test_builder.BuilderTestCase-class.html | 2 +-
.../api/lxml.tests.test_classlookup-module.html | 27 +-
.../api/lxml.tests.test_classlookup-pysrc.html | 1283 +-
...test_classlookup.ClassLookupTestCase-class.html | 2 +-
...tests.test_classlookup.ProxyTestCase-class.html | 2 +-
doc/html/api/lxml.tests.test_css-module.html | 2 +-
doc/html/api/lxml.tests.test_css-pysrc.html | 167 +-
.../api/lxml.tests.test_css.CSSTestCase-class.html | 2 +-
.../api/lxml.tests.test_doctestcompare-module.html | 2 +-
.../api/lxml.tests.test_doctestcompare-pysrc.html | 343 +-
...st_doctestcompare.DoctestCompareTest-class.html | 2 +-
...tests.test_doctestcompare.DummyInput-class.html | 2 +-
doc/html/api/lxml.tests.test_dtd-module.html | 46 +-
doc/html/api/lxml.tests.test_dtd-pysrc.html | 1335 +-
...lxml.tests.test_dtd.ETreeDtdTestCase-class.html | 2 +-
.../api/lxml.tests.test_elementpath-module.html | 2 +-
.../api/lxml.tests.test_elementpath-pysrc.html | 2 +-
...elementpath.EtreeElementPathTestCase-class.html | 2 +-
.../api/lxml.tests.test_elementtree-module.html | 46 +-
.../api/lxml.tests.test_elementtree-pysrc.html | 16204 +++++++++----------
...ttree.CElementTreeElementSlicingTest-class.html | 2 +-
...est_elementtree.CElementTreeTestCase-class.html | 16 +-
...t_elementtree.ETreeC14N2TostringTest-class.html | 2 +-
...test_elementtree.ETreeC14N2WriteTest-class.html | 2 +-
...tests.test_elementtree.ETreeC14NTest-class.html | 2 +-
..._elementtree.ETreeElementSlicingTest-class.html | 2 +-
...s.test_elementtree.ETreePullTestCase-class.html | 2 +-
...tests.test_elementtree.ETreeTestCase-class.html | 16 +-
...nttree.ElementTreeElementSlicingTest-class.html | 2 +-
...test_elementtree.ElementTreeTestCase-class.html | 16 +-
...xml.tests.test_elementtree._C14NTest-class.html | 2 +-
....test_elementtree._ETreeTestCaseBase-class.html | 226 +-
...test_elementtree._ElementSlicingTest-class.html | 2 +-
....test_elementtree._XMLPullParserTest-class.html | 2 +-
doc/html/api/lxml.tests.test_errors-module.html | 46 +-
doc/html/api/lxml.tests.test_errors-pysrc.html | 266 +-
...lxml.tests.test_errors.ErrorTestCase-class.html | 2 +-
doc/html/api/lxml.tests.test_etree-module.html | 2 +-
doc/html/api/lxml.tests.test_etree-pysrc.html | 13884 ++++++++--------
...l.tests.test_etree.ETreeC14NTestCase-class.html | 18 +-
...l.tests.test_etree.ETreeErrorLogTest-class.html | 2 +-
...l.tests.test_etree.ETreeOnlyTestCase-class.html | 274 +-
....tests.test_etree.ETreeWriteTestCase-class.html | 2 +-
...sts.test_etree.ETreeXIncludeTestCase-class.html | 2 +-
...ts.test_etree.ElementIncludeTestCase-class.html | 2 +-
...l.tests.test_etree.XMLPullParserTest-class.html | 2 +-
...l.tests.test_etree._XIncludeTestCase-class.html | 2 +-
.../lxml.tests.test_external_document-module.html | 2 +-
.../lxml.tests.test_external_document-pysrc.html | 2 +-
...al_document.ExternalDocumentTestCase-class.html | 2 +-
.../api/lxml.tests.test_htmlparser-module.html | 46 +-
doc/html/api/lxml.tests.test_htmlparser-pysrc.html | 2074 ++-
...s.test_htmlparser.HtmlParserTestCase-class.html | 18 +-
doc/html/api/lxml.tests.test_http_io-module.html | 46 +-
doc/html/api/lxml.tests.test_http_io-pysrc.html | 400 +-
...ml.tests.test_http_io.HttpIOTestCase-class.html | 2 +-
...lxml.tests.test_incremental_xmlfile-module.html | 46 +-
.../lxml.tests.test_incremental_xmlfile-pysrc.html | 1650 +-
...emental_xmlfile.AsyncXmlFileTestCase-class.html | 2 +-
...ental_xmlfile.BytesIOXmlFileTestCase-class.html | 2 +-
...incremental_xmlfile.HtmlFileTestCase-class.html | 2 +-
...mlfile.SimpleFileLikeXmlFileTestCase-class.html | 2 +-
...leLikeXmlFileTestCase.SimpleFileLike-class.html | 2 +-
...ntal_xmlfile.TempPathXmlFileTestCase-class.html | 2 +-
...remental_xmlfile.TempXmlFileTestCase-class.html | 2 +-
...emental_xmlfile._XmlFileTestCaseBase-class.html | 2 +-
doc/html/api/lxml.tests.test_io-module.html | 2 +-
doc/html/api/lxml.tests.test_io-pysrc.html | 1034 +-
.../lxml.tests.test_io.ETreeIOTestCase-class.html | 2 +-
....tests.test_io.ElementTreeIOTestCase-class.html | 2 +-
.../lxml.tests.test_io._IOTestCaseBase-class.html | 2 +-
.../api/lxml.tests.test_isoschematron-module.html | 46 +-
.../api/lxml.tests.test_isoschematron-pysrc.html | 2098 ++-
...chematron.ETreeISOSchematronTestCase-class.html | 2 +-
doc/html/api/lxml.tests.test_nsclasses-module.html | 46 +-
doc/html/api/lxml.tests.test_nsclasses-pysrc.html | 610 +-
...lasses.ETreeNamespaceClassesTestCase-class.html | 2 +-
...NamespaceClassesTestCase.bluff_class-class.html | 2 +-
...mespaceClassesTestCase.default_class-class.html | 2 +-
...eNamespaceClassesTestCase.maeh_class-class.html | 2 +-
doc/html/api/lxml.tests.test_objectify-module.html | 27 +-
doc/html/api/lxml.tests.test_objectify-pysrc.html | 7797 +++++----
...sts.test_objectify.ObjectifyTestCase-class.html | 2 +-
.../api/lxml.tests.test_pyclasslookup-module.html | 27 +-
.../api/lxml.tests.test_pyclasslookup-pysrc.html | 1019 +-
..._pyclasslookup.PyClassLookupTestCase-class.html | 2 +-
doc/html/api/lxml.tests.test_relaxng-module.html | 46 +-
doc/html/api/lxml.tests.test_relaxng-pysrc.html | 698 +-
...ts.test_relaxng.ETreeRelaxNGTestCase-class.html | 2 +-
....test_relaxng.RelaxNGCompactTestCase-class.html | 2 +-
doc/html/api/lxml.tests.test_sax-module.html | 46 +-
doc/html/api/lxml.tests.test_sax-pysrc.html | 1123 +-
...lxml.tests.test_sax.ETreeSaxTestCase-class.html | 2 +-
...l.tests.test_sax.NSPrefixSaxTestCase-class.html | 2 +-
....tests.test_sax.SimpleContentHandler-class.html | 2 +-
.../api/lxml.tests.test_schematron-module.html | 46 +-
doc/html/api/lxml.tests.test_schematron-pysrc.html | 267 +-
...t_schematron.ETreeSchematronTestCase-class.html | 2 +-
doc/html/api/lxml.tests.test_threading-module.html | 46 +-
doc/html/api/lxml.tests.test_threading-pysrc.html | 1596 +-
...est_threading.ThreadPipelineTestCase-class.html | 2 +-
...ipelineTestCase.ParseAndExtendWorker-class.html | 6 +-
...ipelineTestCase.ParseAndInjectWorker-class.html | 6 +-
...g.ThreadPipelineTestCase.ParseWorker-class.html | 6 +-
...ThreadPipelineTestCase.ReverseWorker-class.html | 2 +-
....ThreadPipelineTestCase.RotateWorker-class.html | 2 +-
...readPipelineTestCase.SerialiseWorker-class.html | 2 +-
...ding.ThreadPipelineTestCase.Validate-class.html | 2 +-
...eading.ThreadPipelineTestCase.Worker-class.html | 2 +-
...sts.test_threading.ThreadingTestCase-class.html | 2 +-
doc/html/api/lxml.tests.test_unicode-module.html | 27 +-
doc/html/api/lxml.tests.test_unicode-pysrc.html | 651 +-
...tests.test_unicode.EncodingsTestCase-class.html | 2 +-
...l.tests.test_unicode.UnicodeTestCase-class.html | 2 +-
doc/html/api/lxml.tests.test_xmlschema-module.html | 46 +-
doc/html/api/lxml.tests.test_xmlschema-pysrc.html | 1442 +-
...hema.ETreeXMLSchemaResolversTestCase-class.html | 2 +-
...emaResolversTestCase.simple_resolver-class.html | 2 +-
...est_xmlschema.ETreeXMLSchemaTestCase-class.html | 2 +-
.../api/lxml.tests.test_xpathevaluator-module.html | 27 +-
.../api/lxml.tests.test_xpathevaluator-pysrc.html | 2073 ++-
...hevaluator.ETreeETXPathClassTestCase-class.html | 2 +-
...athevaluator.ETreeXPathClassTestCase-class.html | 2 +-
...athevaluator.ETreeXPathExsltTestCase-class.html | 2 +-
...st_xpathevaluator.ETreeXPathTestCase-class.html | 2 +-
doc/html/api/lxml.tests.test_xslt-module.html | 46 +-
doc/html/api/lxml.tests.test_xslt-pysrc.html | 2636 ++-
...l.tests.test_xslt.ETreeEXSLTTestCase-class.html | 2 +-
...est_xslt.ETreeXSLTExtElementTestCase-class.html | 2 +-
...s.test_xslt.ETreeXSLTExtFuncTestCase-class.html | 2 +-
...ml.tests.test_xslt.ETreeXSLTTestCase-class.html | 2 +-
...lxml.tests.test_xslt.Py3XSLTTestCase-class.html | 2 +-
doc/html/api/lxml.usedoctest-module.html | 2 +-
doc/html/api/lxml.usedoctest-pysrc.html | 2 +-
doc/html/api/mimetools.Message-class.html | 2 +-
doc/html/api/module-tree.html | 4 +-
doc/html/api/str-class.html | 2 +-
doc/html/api/toc-everything.html | 68 +-
doc/html/api/toc-lxml.builder-module.html | 4 +-
doc/html/api/toc-lxml.sax-module.html | 4 +-
.../api/toc-lxml.tests.test_builder-module.html | 3 +-
.../toc-lxml.tests.test_classlookup-module.html | 3 +-
doc/html/api/toc-lxml.tests.test_dtd-module.html | 3 +-
.../toc-lxml.tests.test_elementtree-module.html | 3 +-
.../api/toc-lxml.tests.test_errors-module.html | 3 +-
.../api/toc-lxml.tests.test_htmlparser-module.html | 3 +-
.../api/toc-lxml.tests.test_http_io-module.html | 3 +-
...lxml.tests.test_incremental_xmlfile-module.html | 3 +-
.../toc-lxml.tests.test_isoschematron-module.html | 3 +-
.../api/toc-lxml.tests.test_nsclasses-module.html | 3 +-
.../api/toc-lxml.tests.test_objectify-module.html | 3 +-
.../toc-lxml.tests.test_pyclasslookup-module.html | 3 +-
.../api/toc-lxml.tests.test_relaxng-module.html | 3 +-
doc/html/api/toc-lxml.tests.test_sax-module.html | 3 +-
.../api/toc-lxml.tests.test_schematron-module.html | 3 +-
.../api/toc-lxml.tests.test_threading-module.html | 3 +-
.../api/toc-lxml.tests.test_unicode-module.html | 3 +-
.../api/toc-lxml.tests.test_xmlschema-module.html | 3 +-
.../toc-lxml.tests.test_xpathevaluator-module.html | 3 +-
doc/html/api/toc-lxml.tests.test_xslt-module.html | 3 +-
doc/html/api/xml.etree.ElementTree-module.html | 2 +-
doc/html/api/xml.etree.ElementTree-pysrc.html | 2 +-
.../api/xml.etree.ElementTree.Element-class.html | 2 +-
.../xml.etree.ElementTree.ElementTree-class.html | 2 +-
.../xml.etree.ElementTree.ParseError-class.html | 2 +-
.../api/xml.etree.ElementTree.QName-class.html | 2 +-
.../xml.etree.ElementTree.TreeBuilder-class.html | 2 +-
.../api/xml.etree.ElementTree.XMLParser-class.html | 2 +-
...etree.ElementTree._IterParseIterator-class.html | 2 +-
...etree.ElementTree._SimpleElementPath-class.html | 2 +-
doc/html/build.html | 4 +-
doc/html/capi.html | 16 +-
.../{changes-4.4.3.html => changes-4.5.2.html} | 869 +-
doc/html/compatibility.html | 4 +-
doc/html/credits.html | 4 +-
doc/html/cssselect.html | 4 +-
doc/html/element_classes.html | 4 +-
doc/html/elementsoup.html | 4 +-
doc/html/extensions.html | 4 +-
doc/html/html5parser.html | 4 +-
doc/html/index.html | 40 +-
doc/html/installation.html | 4 +-
doc/html/intro.html | 4 +-
doc/html/lxml-source-howto.html | 4 +-
doc/html/lxmlhtml.html | 4 +-
doc/html/objectify.html | 4 +-
doc/html/parsing.html | 4 +-
doc/html/performance.html | 4 +-
doc/html/resolvers.html | 4 +-
doc/html/sax.html | 4 +-
doc/html/sitemap.html | 2 +-
doc/html/tutorial.html | 37 +-
doc/html/validation.html | 4 +-
doc/html/xpathxslt.html | 4 +-
doc/main.txt | 10 +-
doc/mkhtml.py | 2 +-
setupinfo.py | 21 +-
src/lxml.egg-info/PKG-INFO | 21 +-
src/lxml.egg-info/SOURCES.txt | 2 +-
src/lxml/__init__.py | 2 +-
src/lxml/_elementpath.c | 27 +-
src/lxml/builder.c | 25 +-
src/lxml/dtd.pxi | 6 +
src/lxml/etree.c | 6764 ++++----
src/lxml/etree.h | 2 +-
src/lxml/etree_api.h | 2 +-
src/lxml/html/clean.c | 7377 +++++----
src/lxml/html/clean.py | 37 +-
src/lxml/html/diff.c | 31 +-
src/lxml/html/tests/test_clean.py | 35 +
src/lxml/html/tests/test_clean.txt | 22 +
src/lxml/includes/lxml-version.h | 2 +-
src/lxml/lxml.etree.h | 2 +-
src/lxml/lxml.etree_api.h | 2 +-
src/lxml/objectify.c | 33 +-
src/lxml/parser.pxi | 42 +-
src/lxml/relaxng.pxi | 2 +
src/lxml/sax.c | 29 +-
src/lxml/schematron.pxi | 4 +
src/lxml/tests/test_elementtree.py | 254 +-
src/lxml/tests/test_etree.py | 283 +-
src/lxml/xinclude.pxi | 2 +
src/lxml/xmlschema.pxi | 2 +
src/lxml/xslt.pxi | 4 +
497 files changed, 42130 insertions(+), 42234 deletions(-)
rename doc/html/{changes-4.4.3.html => changes-4.5.2.html} (97%)
diff --git a/CHANGES.txt b/CHANGES.txt
index 30e8059..ef1f77a 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -2,6 +2,27 @@
lxml changelog
==============
+4.5.2 (2020-07-09)
+==================
+
+Bugs fixed
+----------
+
+* ``Cleaner()`` now validates that only known configuration options can be set.
+
+* LP#1882606: ``Cleaner.clean_html()`` discarded comments and PIs regardless of the
+ corresponding configuration option, if ``remove_unknown_tags`` was set.
+
+* LP#1880251: Instead of globally overwriting the document loader in libxml2, lxml now
+ sets it per parser run, which improves the interoperability with other users of libxml2
+ such as libxmlsec.
+
+* LP#1881960: Fix build in CPython 3.10 by using Cython 0.29.21.
+
+* The setup options "--with-xml2-config" and "--with-xslt-config" were accidentally renamed
+ to "--xml2-config" and "--xslt-config" in 4.5.1 and are now available again.
+
+
4.5.1 (2020-05-19)
==================
diff --git a/PKG-INFO b/PKG-INFO
index 05ab7e0..8523174 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: lxml
-Version: 4.5.1
+Version: 4.5.2
Summary: Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API.
Home-page: https://lxml.de/
Author: lxml dev team
@@ -38,20 +38,25 @@ Description: lxml is a Pythonic, mature binding for the libxml2 and libxslt libr
as soon as a maintenance branch has been established. Note that this
requires Cython to be installed at an appropriate version for the build.
- 4.5.1 (2020-05-19)
+ 4.5.2 (2020-07-09)
==================
Bugs fixed
----------
- * LP#1570388: Fix failures when serialising documents larger than 2GB in some cases.
+ * ``Cleaner()`` now validates that only known configuration options can be set.
- * LP#1865141, GH#298: ``QName`` values were not accepted by the ``el.iter()`` method.
- Patch by xmo-odoo.
+ * LP#1882606: ``Cleaner.clean_html()`` discarded comments and PIs regardless of the
+ corresponding configuration option, if ``remove_unknown_tags`` was set.
- * LP#1863413, GH#297: The build failed to detect libraries on Linux that are only
- configured via pkg-config.
- Patch by Hugh McMaster.
+ * LP#1880251: Instead of globally overwriting the document loader in libxml2, lxml now
+ sets it per parser run, which improves the interoperability with other users of libxml2
+ such as libxmlsec.
+
+ * LP#1881960: Fix build in CPython 3.10 by using Cython 0.29.21.
+
+ * The setup options "--with-xml2-config" and "--with-xslt-config" were accidentally renamed
+ to "--xml2-config" and "--xslt-config" in 4.5.1 and are now available again.
diff --git a/README.rst b/README.rst
index ae1d7ca..6a7c046 100644
--- a/README.rst
+++ b/README.rst
@@ -36,9 +36,7 @@ Thank you for your support.
Support lxml through `GitHub Sponsors `_
- (Note: GitHub will currently double your donation!)
-
- via `Tidelift `_
+ via a `Tidelift subscription `_
or via PayPal:
diff --git a/doc/html/FAQ.html b/doc/html/FAQ.html
index 979b1fc..ffc3d36 100644
--- a/doc/html/FAQ.html
+++ b/doc/html/FAQ.html
@@ -26,7 +26,7 @@ function hide_menu() {
-
lxml FAQ - Frequently Asked Questions
+
lxml FAQ - Frequently Asked Questions
Frequently asked questions on lxml. See also the notes on compatibility to
ElementTree.
@@ -1021,7 +1021,7 @@ map it to your namespace. See also the question above.
diff --git a/doc/html/api.html b/doc/html/api.html
index 2b7681a..9c74e30 100644
--- a/doc/html/api.html
+++ b/doc/html/api.html
@@ -24,7 +24,7 @@ function hide_menu() {
-
APIs specific to lxml.etree
+
APIs specific to lxml.etree
lxml.etree tries to follow established APIs wherever possible. Sometimes,
however, the need to expose a feature in an easy way led to the invention of a
@@ -533,7 +533,7 @@ resolvers, you have to stick to the external Python module.
diff --git a/doc/html/api/abc.ABCMeta-class.html b/doc/html/api/abc.ABCMeta-class.html
index 075dcb0..f508f74 100644
--- a/doc/html/api/abc.ABCMeta-class.html
+++ b/doc/html/api/abc.ABCMeta-class.html
@@ -427,7 +427,7 @@ even via super()).