From 7e0b17e473f55b8690dcf778683c308832abbe2d Mon Sep 17 00:00:00 2001 From: Hyunjee Kim Date: Thu, 31 Jan 2019 10:55:06 +0900 Subject: [PATCH] Imported Upstream version 3.6.3 Change-Id: I37f403f7fe83e4986d33ce0ede833f83dc0c78c1 Signed-off-by: Hyunjee Kim --- CHANGES.txt | 6 + PKG-INFO | 4 +- doc/conf.py | 195 - doc/donating.txt | 60 - doc/html/FAQ.html | 30 +- doc/html/api.html | 84 +- doc/html/api/abc.ABCMeta-class.html | 5 +- doc/html/api/api-objects.txt | 34 +- doc/html/api/class-tree.html | 15 +- .../api/cssselect.parser.SelectorError-class.html | 3 +- ...cssselect.parser.SelectorSyntaxError-class.html | 3 +- .../api/cssselect.xpath.ExpressionError-class.html | 3 +- doc/html/api/cssselect.xpath.XPathExpr-class.html | 3 +- doc/html/api/deprecated-index.html | 3 +- doc/html/api/exceptions.AssertionError-class.html | 3 +- doc/html/api/help.html | 3 +- doc/html/api/identifier-index-A.html | 3 +- doc/html/api/identifier-index-B.html | 3 +- doc/html/api/identifier-index-C.html | 3 +- doc/html/api/identifier-index-D.html | 3 +- doc/html/api/identifier-index-E.html | 3 +- doc/html/api/identifier-index-F.html | 3 +- doc/html/api/identifier-index-G.html | 3 +- doc/html/api/identifier-index-H.html | 3 +- doc/html/api/identifier-index-I.html | 223 +- doc/html/api/identifier-index-J.html | 3 +- doc/html/api/identifier-index-K.html | 3 +- doc/html/api/identifier-index-L.html | 3 +- doc/html/api/identifier-index-M.html | 3 +- doc/html/api/identifier-index-N.html | 3 +- doc/html/api/identifier-index-O.html | 3 +- doc/html/api/identifier-index-P.html | 3 +- doc/html/api/identifier-index-Q.html | 3 +- doc/html/api/identifier-index-R.html | 3 +- doc/html/api/identifier-index-S.html | 3 +- doc/html/api/identifier-index-T.html | 1894 ++--- doc/html/api/identifier-index-U.html | 3 +- doc/html/api/identifier-index-V.html | 3 +- doc/html/api/identifier-index-W.html | 3 +- doc/html/api/identifier-index-X.html | 3 +- doc/html/api/identifier-index-Y.html | 3 +- doc/html/api/identifier-index-Z.html | 3 +- doc/html/api/identifier-index-_.html | 3 +- doc/html/api/identifier-index.html | 3 +- doc/html/api/lxml-module.html | 3 +- doc/html/api/lxml-pysrc.html | 3 +- doc/html/api/lxml.ElementInclude-module.html | 3 +- doc/html/api/lxml.ElementInclude-pysrc.html | 3 +- ...xml.ElementInclude.FatalIncludeError-class.html | 3 +- doc/html/api/lxml.builder-module.html | 5 +- doc/html/api/lxml.builder-pysrc.html | 3 +- doc/html/api/lxml.builder.ElementMaker-class.html | 3 +- doc/html/api/lxml.cssselect-module.html | 3 +- doc/html/api/lxml.cssselect-pysrc.html | 3 +- doc/html/api/lxml.cssselect.CSSSelector-class.html | 3 +- .../lxml.cssselect.LxmlHTMLTranslator-class.html | 3 +- .../api/lxml.cssselect.LxmlTranslator-class.html | 3 +- doc/html/api/lxml.doctestcompare-module.html | 23 +- doc/html/api/lxml.doctestcompare-pysrc.html | 3 +- ...ml.doctestcompare.LHTMLOutputChecker-class.html | 3 +- ...xml.doctestcompare.LXMLOutputChecker-class.html | 3 +- .../lxml.doctestcompare._RestoreChecker-class.html | 3 +- doc/html/api/lxml.etree-module.html | 31 +- .../api/lxml.etree.AncestorsIterator-class.html | 3 +- ...ree.AttributeBasedElementClassLookup-class.html | 3 +- doc/html/api/lxml.etree.C14NError-class.html | 3 +- doc/html/api/lxml.etree.CDATA-class.html | 3 +- doc/html/api/lxml.etree.CommentBase-class.html | 3 +- .../lxml.etree.CustomElementClassLookup-class.html | 3 +- doc/html/api/lxml.etree.DTD-class.html | 3 +- doc/html/api/lxml.etree.DTDError-class.html | 3 +- doc/html/api/lxml.etree.DTDParseError-class.html | 3 +- .../api/lxml.etree.DTDValidateError-class.html | 3 +- doc/html/api/lxml.etree.DocInfo-class.html | 3 +- doc/html/api/lxml.etree.DocumentInvalid-class.html | 3 +- .../api/lxml.etree.ETCompatXMLParser-class.html | 3 +- doc/html/api/lxml.etree.ETXPath-class.html | 3 +- doc/html/api/lxml.etree.ElementBase-class.html | 5 +- .../api/lxml.etree.ElementChildIterator-class.html | 3 +- .../api/lxml.etree.ElementClassLookup-class.html | 3 +- ...lxml.etree.ElementDefaultClassLookup-class.html | 3 +- ...lxml.etree.ElementDepthFirstIterator-class.html | 3 +- ...ml.etree.ElementNamespaceClassLookup-class.html | 3 +- .../api/lxml.etree.ElementTextIterator-class.html | 3 +- doc/html/api/lxml.etree.EntityBase-class.html | 3 +- doc/html/api/lxml.etree.Error-class.html | 3 +- doc/html/api/lxml.etree.ErrorDomains-class.html | 3 +- doc/html/api/lxml.etree.ErrorLevels-class.html | 3 +- doc/html/api/lxml.etree.ErrorTypes-class.html | 3 +- ...xml.etree.FallbackElementClassLookup-class.html | 3 +- doc/html/api/lxml.etree.HTMLParser-class.html | 9 +- doc/html/api/lxml.etree.HTMLPullParser-class.html | 3 +- doc/html/api/lxml.etree.LxmlError-class.html | 5 +- .../api/lxml.etree.LxmlRegistryError-class.html | 3 +- doc/html/api/lxml.etree.LxmlSyntaxError-class.html | 5 +- .../lxml.etree.NamespaceRegistryError-class.html | 3 +- doc/html/api/lxml.etree.PIBase-class.html | 3 +- doc/html/api/lxml.etree.ParseError-class.html | 3 +- ....etree.ParserBasedElementClassLookup-class.html | 3 +- doc/html/api/lxml.etree.ParserError-class.html | 3 +- doc/html/api/lxml.etree.PyErrorLog-class.html | 3 +- .../lxml.etree.PythonElementClassLookup-class.html | 3 +- doc/html/api/lxml.etree.QName-class.html | 3 +- doc/html/api/lxml.etree.RelaxNG-class.html | 3 +- doc/html/api/lxml.etree.RelaxNGError-class.html | 3 +- .../api/lxml.etree.RelaxNGErrorTypes-class.html | 3 +- .../api/lxml.etree.RelaxNGParseError-class.html | 3 +- .../api/lxml.etree.RelaxNGValidateError-class.html | 3 +- doc/html/api/lxml.etree.Resolver-class.html | 3 +- doc/html/api/lxml.etree.Schematron-class.html | 3 +- doc/html/api/lxml.etree.SchematronError-class.html | 3 +- .../api/lxml.etree.SchematronParseError-class.html | 3 +- .../lxml.etree.SchematronValidateError-class.html | 3 +- .../api/lxml.etree.SerialisationError-class.html | 3 +- .../api/lxml.etree.SiblingsIterator-class.html | 3 +- doc/html/api/lxml.etree.TreeBuilder-class.html | 3 +- doc/html/api/lxml.etree.XInclude-class.html | 3 +- doc/html/api/lxml.etree.XIncludeError-class.html | 3 +- doc/html/api/lxml.etree.XMLParser-class.html | 3 +- doc/html/api/lxml.etree.XMLPullParser-class.html | 3 +- doc/html/api/lxml.etree.XMLSchema-class.html | 3 +- doc/html/api/lxml.etree.XMLSchemaError-class.html | 3 +- .../api/lxml.etree.XMLSchemaParseError-class.html | 3 +- .../lxml.etree.XMLSchemaValidateError-class.html | 3 +- doc/html/api/lxml.etree.XMLSyntaxError-class.html | 3 +- doc/html/api/lxml.etree.XPath-class.html | 5 +- .../lxml.etree.XPathDocumentEvaluator-class.html | 3 +- .../lxml.etree.XPathElementEvaluator-class.html | 3 +- doc/html/api/lxml.etree.XPathError-class.html | 3 +- doc/html/api/lxml.etree.XPathEvalError-class.html | 3 +- .../api/lxml.etree.XPathFunctionError-class.html | 3 +- .../api/lxml.etree.XPathResultError-class.html | 3 +- .../api/lxml.etree.XPathSyntaxError-class.html | 3 +- doc/html/api/lxml.etree.XSLT-class.html | 3 +- .../api/lxml.etree.XSLTAccessControl-class.html | 3 +- doc/html/api/lxml.etree.XSLTApplyError-class.html | 3 +- doc/html/api/lxml.etree.XSLTError-class.html | 3 +- doc/html/api/lxml.etree.XSLTExtension-class.html | 3 +- .../api/lxml.etree.XSLTExtensionError-class.html | 3 +- doc/html/api/lxml.etree.XSLTParseError-class.html | 3 +- doc/html/api/lxml.etree.XSLTSaveError-class.html | 3 +- doc/html/api/lxml.etree._Attrib-class.html | 3 +- doc/html/api/lxml.etree._BaseErrorLog-class.html | 3 +- doc/html/api/lxml.etree._Comment-class.html | 3 +- doc/html/api/lxml.etree._Document-class.html | 3 +- doc/html/api/lxml.etree._DomainErrorLog-class.html | 3 +- doc/html/api/lxml.etree._Element-class.html | 3 +- .../api/lxml.etree._ElementIterator-class.html | 3 +- .../lxml.etree._ElementMatchIterator-class.html | 3 +- .../api/lxml.etree._ElementStringResult-class.html | 3 +- .../api/lxml.etree._ElementTagMatcher-class.html | 3 +- doc/html/api/lxml.etree._ElementTree-class.html | 3 +- .../lxml.etree._ElementUnicodeResult-class.html | 3 +- doc/html/api/lxml.etree._Entity-class.html | 3 +- doc/html/api/lxml.etree._ErrorLog-class.html | 3 +- doc/html/api/lxml.etree._FeedParser-class.html | 3 +- doc/html/api/lxml.etree._IDDict-class.html | 3 +- doc/html/api/lxml.etree._ListErrorLog-class.html | 3 +- doc/html/api/lxml.etree._LogEntry-class.html | 3 +- .../lxml.etree._ProcessingInstruction-class.html | 3 +- .../api/lxml.etree._RotatingErrorLog-class.html | 3 +- .../api/lxml.etree._SaxParserTarget-class.html | 3 +- .../api/lxml.etree._TargetParserResult-class.html | 3 +- doc/html/api/lxml.etree._Validator-class.html | 3 +- .../api/lxml.etree._XPathEvaluatorBase-class.html | 3 +- ...xml.etree._XSLTProcessingInstruction-class.html | 3 +- doc/html/api/lxml.etree._XSLTResultTree-class.html | 3 +- doc/html/api/lxml.etree.htmlfile-class.html | 3 +- doc/html/api/lxml.etree.iterparse-class.html | 3 +- doc/html/api/lxml.etree.iterwalk-class.html | 3 +- doc/html/api/lxml.etree.xmlfile-class.html | 3 +- doc/html/api/lxml.html-module.html | 55 +- doc/html/api/lxml.html-pysrc.html | 5 +- doc/html/api/lxml.html.CheckboxGroup-class.html | 3 +- doc/html/api/lxml.html.CheckboxValues-class.html | 7 +- doc/html/api/lxml.html.Classes-class.html | 50 +- doc/html/api/lxml.html.ElementSoup-module.html | 3 +- doc/html/api/lxml.html.ElementSoup-pysrc.html | 3 +- doc/html/api/lxml.html.FieldsDict-class.html | 46 +- doc/html/api/lxml.html.FormElement-class.html | 3 +- doc/html/api/lxml.html.HTMLParser-class.html | 3 +- doc/html/api/lxml.html.HtmlComment-class.html | 3 +- doc/html/api/lxml.html.HtmlElement-class.html | 3 +- .../lxml.html.HtmlElementClassLookup-class.html | 3 +- doc/html/api/lxml.html.HtmlEntity-class.html | 3 +- doc/html/api/lxml.html.HtmlMixin-class.html | 3 +- .../lxml.html.HtmlProcessingInstruction-class.html | 3 +- doc/html/api/lxml.html.InputElement-class.html | 3 +- doc/html/api/lxml.html.InputGetter-class.html | 3 +- doc/html/api/lxml.html.InputMixin-class.html | 3 +- doc/html/api/lxml.html.LabelElement-class.html | 3 +- .../api/lxml.html.MultipleSelectOptions-class.html | 7 +- doc/html/api/lxml.html.RadioGroup-class.html | 3 +- doc/html/api/lxml.html.SelectElement-class.html | 3 +- doc/html/api/lxml.html.TextareaElement-class.html | 3 +- doc/html/api/lxml.html.XHTMLParser-class.html | 3 +- doc/html/api/lxml.html._MethodFunc-class.html | 3 +- doc/html/api/lxml.html.builder-module.html | 187 +- doc/html/api/lxml.html.builder-pysrc.html | 3 +- doc/html/api/lxml.html.clean-module.html | 5 +- doc/html/api/lxml.html.clean-pysrc.html | 1588 ++--- doc/html/api/lxml.html.clean.Cleaner-class.html | 15 +- doc/html/api/lxml.html.defs-module.html | 3 +- doc/html/api/lxml.html.defs-pysrc.html | 3 +- doc/html/api/lxml.html.diff-module.html | 7 +- doc/html/api/lxml.html.diff-pysrc.html | 3 +- doc/html/api/lxml.html.diff.DEL_END-class.html | 3 +- doc/html/api/lxml.html.diff.DEL_START-class.html | 3 +- ...html.diff.InsensitiveSequenceMatcher-class.html | 3 +- doc/html/api/lxml.html.diff.NoDeletes-class.html | 3 +- doc/html/api/lxml.html.diff.href_token-class.html | 3 +- doc/html/api/lxml.html.diff.tag_token-class.html | 3 +- doc/html/api/lxml.html.diff.token-class.html | 3 +- doc/html/api/lxml.html.formfill-module.html | 25 +- doc/html/api/lxml.html.formfill-pysrc.html | 3 +- ...ml.html.formfill.DefaultErrorCreator-class.html | 3 +- .../api/lxml.html.formfill.FormNotFound-class.html | 3 +- doc/html/api/lxml.html.html5parser-module.html | 5 +- doc/html/api/lxml.html.html5parser-pysrc.html | 3 +- .../lxml.html.html5parser.HTMLParser-class.html | 3 +- .../lxml.html.html5parser.XHTMLParser-class.html | 3 +- doc/html/api/lxml.html.soupparser-module.html | 3 +- doc/html/api/lxml.html.soupparser-pysrc.html | 3 +- .../api/lxml.html.soupparser._PseudoTag-class.html | 3 +- doc/html/api/lxml.html.usedoctest-module.html | 3 +- doc/html/api/lxml.html.usedoctest-pysrc.html | 3 +- doc/html/api/lxml.includes-module.html | 3 +- doc/html/api/lxml.includes-pysrc.html | 3 +- doc/html/api/lxml.isoschematron-module.html | 143 +- doc/html/api/lxml.isoschematron-pysrc.html | 3 +- .../api/lxml.isoschematron.Schematron-class.html | 113 +- doc/html/api/lxml.objectify-module.html | 7 +- doc/html/api/lxml.objectify.BoolElement-class.html | 3 +- .../api/lxml.objectify.ElementMaker-class.html | 3 +- .../api/lxml.objectify.FloatElement-class.html | 3 +- doc/html/api/lxml.objectify.IntElement-class.html | 3 +- doc/html/api/lxml.objectify.LongElement-class.html | 3 +- doc/html/api/lxml.objectify.NoneElement-class.html | 3 +- .../api/lxml.objectify.NumberElement-class.html | 3 +- doc/html/api/lxml.objectify.ObjectPath-class.html | 3 +- ...xml.objectify.ObjectifiedDataElement-class.html | 3 +- .../lxml.objectify.ObjectifiedElement-class.html | 3 +- ...bjectify.ObjectifyElementClassLookup-class.html | 3 +- doc/html/api/lxml.objectify.PyType-class.html | 16 +- .../api/lxml.objectify.StringElement-class.html | 3 +- doc/html/api/lxml.pyclasslookup-module.html | 3 +- doc/html/api/lxml.pyclasslookup-pysrc.html | 3 +- doc/html/api/lxml.sax-module.html | 3 +- doc/html/api/lxml.sax-pysrc.html | 3 +- .../lxml.sax.ElementTreeContentHandler-class.html | 3 +- .../api/lxml.sax.ElementTreeProducer-class.html | 3 +- doc/html/api/lxml.sax.SaxError-class.html | 3 +- doc/html/api/lxml.tests-module.html | 3 +- doc/html/api/lxml.tests-pysrc.html | 3 +- doc/html/api/lxml.tests.common_imports-module.html | 5 +- doc/html/api/lxml.tests.common_imports-pysrc.html | 3 +- ....tests.common_imports.HelperTestCase-class.html | 5 +- ...l.tests.common_imports.LargeFileLike-class.html | 3 +- ....common_imports.LargeFileLikeUnicode-class.html | 3 +- ...l.tests.common_imports.SillyFileLike-class.html | 3 +- .../api/lxml.tests.dummy_http_server-module.html | 3 +- .../api/lxml.tests.dummy_http_server-pysrc.html | 3 +- ...mmy_http_server.HTTPRequestCollector-class.html | 3 +- ...ml.tests.dummy_http_server.WebServer-class.html | 3 +- ...ts.dummy_http_server._RequestHandler-class.html | 3 +- doc/html/api/lxml.tests.selftest-module.html | 3 +- doc/html/api/lxml.tests.selftest-pysrc.html | 3 +- doc/html/api/lxml.tests.selftest2-module.html | 3 +- doc/html/api/lxml.tests.selftest2-pysrc.html | 3 +- doc/html/api/lxml.tests.test_builder-module.html | 7 +- doc/html/api/lxml.tests.test_builder-pysrc.html | 3 +- ...l.tests.test_builder.BuilderTestCase-class.html | 3 +- .../api/lxml.tests.test_classlookup-module.html | 7 +- .../api/lxml.tests.test_classlookup-pysrc.html | 3 +- ...test_classlookup.ClassLookupTestCase-class.html | 3 +- ...tests.test_classlookup.ProxyTestCase-class.html | 3 +- doc/html/api/lxml.tests.test_css-module.html | 3 +- doc/html/api/lxml.tests.test_css-pysrc.html | 3 +- .../api/lxml.tests.test_css.CSSTestCase-class.html | 3 +- .../api/lxml.tests.test_doctestcompare-module.html | 3 +- .../api/lxml.tests.test_doctestcompare-pysrc.html | 3 +- ...st_doctestcompare.DoctestCompareTest-class.html | 5 +- ...tests.test_doctestcompare.DummyInput-class.html | 3 +- doc/html/api/lxml.tests.test_dtd-module.html | 7 +- doc/html/api/lxml.tests.test_dtd-pysrc.html | 3 +- ...lxml.tests.test_dtd.ETreeDtdTestCase-class.html | 3 +- .../api/lxml.tests.test_elementpath-module.html | 3 +- .../api/lxml.tests.test_elementpath-pysrc.html | 3 +- ...elementpath.EtreeElementPathTestCase-class.html | 3 +- .../api/lxml.tests.test_elementtree-module.html | 7 +- .../api/lxml.tests.test_elementtree-pysrc.html | 3 +- ...est_elementtree.CElementTreeTestCase-class.html | 3 +- ...s.test_elementtree.ETreePullTestCase-class.html | 3 +- ...tests.test_elementtree.ETreeTestCase-class.html | 3 +- ...test_elementtree.ElementTreeTestCase-class.html | 3 +- ....test_elementtree._ETreeTestCaseBase-class.html | 3 +- ....test_elementtree._XMLPullParserTest-class.html | 3 +- doc/html/api/lxml.tests.test_errors-module.html | 7 +- doc/html/api/lxml.tests.test_errors-pysrc.html | 3 +- ...lxml.tests.test_errors.ErrorTestCase-class.html | 3 +- doc/html/api/lxml.tests.test_etree-module.html | 3 +- doc/html/api/lxml.tests.test_etree-pysrc.html | 3 +- ...l.tests.test_etree.ETreeC14NTestCase-class.html | 3 +- ...l.tests.test_etree.ETreeErrorLogTest-class.html | 3 +- ...l.tests.test_etree.ETreeOnlyTestCase-class.html | 3 +- ....tests.test_etree.ETreeWriteTestCase-class.html | 3 +- ...sts.test_etree.ETreeXIncludeTestCase-class.html | 3 +- ...ts.test_etree.ElementIncludeTestCase-class.html | 3 +- ...l.tests.test_etree.XMLPullParserTest-class.html | 3 +- ...l.tests.test_etree._XIncludeTestCase-class.html | 3 +- .../api/lxml.tests.test_htmlparser-module.html | 7 +- doc/html/api/lxml.tests.test_htmlparser-pysrc.html | 3 +- ...s.test_htmlparser.HtmlParserTestCase-class.html | 3 +- doc/html/api/lxml.tests.test_http_io-module.html | 7 +- doc/html/api/lxml.tests.test_http_io-pysrc.html | 3 +- ...ml.tests.test_http_io.HttpIOTestCase-class.html | 3 +- ...lxml.tests.test_incremental_xmlfile-module.html | 7 +- .../lxml.tests.test_incremental_xmlfile-pysrc.html | 3 +- ...ental_xmlfile.BytesIOXmlFileTestCase-class.html | 3 +- ...incremental_xmlfile.HtmlFileTestCase-class.html | 3 +- ...mlfile.SimpleFileLikeXmlFileTestCase-class.html | 3 +- ...leLikeXmlFileTestCase.SimpleFileLike-class.html | 3 +- ...ntal_xmlfile.TempPathXmlFileTestCase-class.html | 3 +- ...remental_xmlfile.TempXmlFileTestCase-class.html | 3 +- ...emental_xmlfile._XmlFileTestCaseBase-class.html | 3 +- doc/html/api/lxml.tests.test_io-module.html | 7 +- doc/html/api/lxml.tests.test_io-pysrc.html | 3 +- .../lxml.tests.test_io.ETreeIOTestCase-class.html | 3 +- ....tests.test_io.ElementTreeIOTestCase-class.html | 3 +- .../lxml.tests.test_io._IOTestCaseBase-class.html | 3 +- .../api/lxml.tests.test_isoschematron-module.html | 7 +- .../api/lxml.tests.test_isoschematron-pysrc.html | 3 +- ...chematron.ETreeISOSchematronTestCase-class.html | 3 +- doc/html/api/lxml.tests.test_nsclasses-module.html | 7 +- doc/html/api/lxml.tests.test_nsclasses-pysrc.html | 3 +- ...lasses.ETreeNamespaceClassesTestCase-class.html | 3 +- ...NamespaceClassesTestCase.bluff_class-class.html | 3 +- ...mespaceClassesTestCase.default_class-class.html | 3 +- ...eNamespaceClassesTestCase.maeh_class-class.html | 3 +- doc/html/api/lxml.tests.test_objectify-module.html | 55 +- doc/html/api/lxml.tests.test_objectify-pysrc.html | 4431 ++++++------ ...sts.test_objectify.ObjectifyTestCase-class.html | 83 +- .../api/lxml.tests.test_pyclasslookup-module.html | 7 +- .../api/lxml.tests.test_pyclasslookup-pysrc.html | 3 +- ..._pyclasslookup.PyClassLookupTestCase-class.html | 5 +- doc/html/api/lxml.tests.test_relaxng-module.html | 7 +- doc/html/api/lxml.tests.test_relaxng-pysrc.html | 3 +- ...ts.test_relaxng.ETreeRelaxNGTestCase-class.html | 3 +- ....test_relaxng.RelaxNGCompactTestCase-class.html | 3 +- doc/html/api/lxml.tests.test_sax-module.html | 7 +- doc/html/api/lxml.tests.test_sax-pysrc.html | 3 +- ...lxml.tests.test_sax.ETreeSaxTestCase-class.html | 3 +- .../api/lxml.tests.test_schematron-module.html | 7 +- doc/html/api/lxml.tests.test_schematron-pysrc.html | 3 +- ...t_schematron.ETreeSchematronTestCase-class.html | 3 +- doc/html/api/lxml.tests.test_threading-module.html | 7 +- doc/html/api/lxml.tests.test_threading-pysrc.html | 3 +- ...est_threading.ThreadPipelineTestCase-class.html | 3 +- ...ipelineTestCase.ParseAndExtendWorker-class.html | 7 +- ...ipelineTestCase.ParseAndInjectWorker-class.html | 7 +- ...g.ThreadPipelineTestCase.ParseWorker-class.html | 7 +- ...ThreadPipelineTestCase.ReverseWorker-class.html | 3 +- ....ThreadPipelineTestCase.RotateWorker-class.html | 3 +- ...readPipelineTestCase.SerialiseWorker-class.html | 3 +- ...ding.ThreadPipelineTestCase.Validate-class.html | 3 +- ...eading.ThreadPipelineTestCase.Worker-class.html | 3 +- ...sts.test_threading.ThreadingTestCase-class.html | 3 +- doc/html/api/lxml.tests.test_unicode-module.html | 7 +- doc/html/api/lxml.tests.test_unicode-pysrc.html | 3 +- ...tests.test_unicode.EncodingsTestCase-class.html | 3 +- ...l.tests.test_unicode.UnicodeTestCase-class.html | 3 +- doc/html/api/lxml.tests.test_xmlschema-module.html | 7 +- doc/html/api/lxml.tests.test_xmlschema-pysrc.html | 3 +- ...hema.ETreeXMLSchemaResolversTestCase-class.html | 71 +- ...emaResolversTestCase.simple_resolver-class.html | 3 +- ...est_xmlschema.ETreeXMLSchemaTestCase-class.html | 3 +- .../api/lxml.tests.test_xpathevaluator-module.html | 73 +- .../api/lxml.tests.test_xpathevaluator-pysrc.html | 3 +- ...hevaluator.ETreeETXPathClassTestCase-class.html | 3 +- ...athevaluator.ETreeXPathClassTestCase-class.html | 3 +- ...athevaluator.ETreeXPathExsltTestCase-class.html | 3 +- ...st_xpathevaluator.ETreeXPathTestCase-class.html | 3 +- doc/html/api/lxml.tests.test_xslt-module.html | 7 +- doc/html/api/lxml.tests.test_xslt-pysrc.html | 5193 +++++++------- ...l.tests.test_xslt.ETreeEXSLTTestCase-class.html | 3 +- ...est_xslt.ETreeXSLTExtElementTestCase-class.html | 3 +- ...s.test_xslt.ETreeXSLTExtFuncTestCase-class.html | 3 +- ...ml.tests.test_xslt.ETreeXSLTTestCase-class.html | 3 +- ...lxml.tests.test_xslt.Py3XSLTTestCase-class.html | 3 +- doc/html/api/lxml.usedoctest-module.html | 3 +- doc/html/api/lxml.usedoctest-pysrc.html | 3 +- doc/html/api/mimetools.Message-class.html | 3 +- doc/html/api/module-tree.html | 3 +- doc/html/api/str-class.html | 3 +- doc/html/api/xml.etree.ElementTree-module.html | 15 +- doc/html/api/xml.etree.ElementTree-pysrc.html | 1264 ++-- .../api/xml.etree.ElementTree.Element-class.html | 3 +- .../xml.etree.ElementTree.ElementTree-class.html | 3 +- .../xml.etree.ElementTree.ParseError-class.html | 3 +- .../api/xml.etree.ElementTree.QName-class.html | 3 +- .../xml.etree.ElementTree.TreeBuilder-class.html | 3 +- .../api/xml.etree.ElementTree.XMLParser-class.html | 3 +- ...etree.ElementTree._IterParseIterator-class.html | 3 +- ...etree.ElementTree._SimpleElementPath-class.html | 3 +- doc/html/build.html | 8 +- doc/html/capi.html | 34 +- doc/html/changes-3.5.0.beta1.html | 3022 -------- doc/html/changes-3.5.0.html | 3044 -------- doc/html/changes-3.5.dev.html | 3004 -------- .../{changes-3.6.0.html => changes-3.6.3.html} | 711 +- doc/html/compatibility.html | 20 +- doc/html/credits.html | 4 +- doc/html/cssselect.html | 22 +- doc/html/element_classes.html | 66 +- doc/html/elementsoup.html | 72 +- doc/html/extensions.html | 216 +- doc/html/funding.html | 167 - doc/html/html5parser.html | 8 +- doc/html/index.html | 15 +- doc/html/installation.html | 6 +- doc/html/intro.html | 4 +- doc/html/lxml-source-howto.html | 6 +- doc/html/lxmlhtml.html | 138 +- doc/html/objectify.html | 374 +- doc/html/parsing.html | 244 +- doc/html/performance.html | 34 +- doc/html/resolvers.html | 52 +- doc/html/sax.html | 22 +- doc/html/sitemap.html | 2 +- doc/html/tutorial.html | 384 +- doc/html/validation.html | 236 +- doc/html/xpathxslt.html | 220 +- doc/main.txt | 8 +- doc/pdf/pubkey.asc | 36 + doc/sitemap.txt | 38 - doc/sphinx/FAQ.html | 938 --- doc/sphinx/Makefile | 64 - doc/sphinx/_images/tagpython.png | Bin 20864 -> 0 bytes doc/sphinx/_sources/FAQ.txt | 989 --- doc/sphinx/_sources/api.txt | 549 -- doc/sphinx/_sources/build.txt | 334 - doc/sphinx/_sources/capi.txt | 94 - doc/sphinx/_sources/compatibility.txt | 196 - doc/sphinx/_sources/cssselect.txt | 108 - doc/sphinx/_sources/element_classes.txt | 537 -- doc/sphinx/_sources/elementsoup.txt | 201 - doc/sphinx/_sources/extensions.txt | 587 -- doc/sphinx/_sources/html/api/api-objects.txt | 7284 ------------------- doc/sphinx/_sources/html5parser.txt | 80 - doc/sphinx/_sources/index.txt | 29 - doc/sphinx/_sources/intro.txt | 82 - doc/sphinx/_sources/licenses/BSD.txt | 29 - doc/sphinx/_sources/licenses/GPL.txt | 340 - doc/sphinx/_sources/licenses/ZopePublicLicense.txt | 59 - doc/sphinx/_sources/licenses/elementtree.txt | 25 - doc/sphinx/_sources/lxml-source-howto.txt | 313 - doc/sphinx/_sources/lxml2.txt | 269 - doc/sphinx/_sources/lxmlhtml.txt | 759 -- doc/sphinx/_sources/main.txt | 293 - doc/sphinx/_sources/memorymanagement.txt | 83 - doc/sphinx/_sources/objectify.txt | 1400 ---- doc/sphinx/_sources/parsing.txt | 832 --- doc/sphinx/_sources/performance.txt | 827 --- doc/sphinx/_sources/resolvers.txt | 283 - doc/sphinx/_sources/s5/lxml-ep2008.txt | 1130 --- doc/sphinx/_sources/sax.txt | 137 - doc/sphinx/_sources/sitemap.txt | 38 - doc/sphinx/_sources/tutorial.txt | 1262 ---- doc/sphinx/_sources/valgrind.txt | 3 - doc/sphinx/_sources/validation.txt | 581 -- doc/sphinx/_sources/xpathxslt.txt | 751 -- doc/sphinx/_static/basic.css | 528 -- doc/sphinx/_static/default.css | 256 - doc/sphinx/_static/pygments.css | 62 - doc/sphinx/_static/sphinxdoc.css | 323 - doc/sphinx/_static/tagpython-big.png | Bin 19383 -> 0 bytes doc/sphinx/api.html | 516 -- doc/sphinx/build.html | 381 - doc/sphinx/capi.html | 184 - doc/sphinx/compatibility.html | 269 - doc/sphinx/cssselect.html | 191 - doc/sphinx/element_classes.html | 556 -- doc/sphinx/elementsoup.html | 271 - doc/sphinx/extensions.html | 620 -- doc/sphinx/genindex.html | 121 - doc/sphinx/html/api/api-objects.html | 7373 -------------------- doc/sphinx/html5parser.html | 163 - doc/sphinx/index.html | 257 - doc/sphinx/intro.html | 157 - doc/sphinx/licenses/BSD.html | 115 - doc/sphinx/licenses/GPL.html | 457 -- doc/sphinx/licenses/ZopePublicLicense.html | 138 - doc/sphinx/licenses/elementtree.html | 108 - doc/sphinx/lxml-source-howto.html | 366 - doc/sphinx/lxml2.html | 336 - doc/sphinx/lxmlhtml.html | 808 --- doc/sphinx/main.html | 260 - doc/sphinx/memorymanagement.html | 162 - doc/sphinx/objectify.html | 1317 ---- doc/sphinx/parsing.html | 814 --- doc/sphinx/performance.html | 835 --- doc/sphinx/resolvers.html | 339 - doc/sphinx/s5/lxml-ep2008.html | 1176 ---- doc/sphinx/sax.html | 209 - doc/sphinx/search.html | 99 - doc/sphinx/sitemap.html | 282 - doc/sphinx/tutorial.html | 1167 ---- doc/sphinx/valgrind.html | 89 - doc/sphinx/validation.html | 584 -- doc/sphinx/xpathxslt.html | 736 -- setupinfo.py | 4 +- src/lxml.egg-info/PKG-INFO | 4 +- src/lxml.egg-info/SOURCES.txt | 86 +- src/lxml.egg-info/requires.txt | 9 +- src/lxml/includes/lxml-version.h | 2 +- src/lxml/lxml.etree.c | 132 +- src/lxml/lxml.objectify.c | 2 +- tools/manylinux/build-wheels.sh | 6 +- version.txt | 2 +- 519 files changed, 10239 insertions(+), 63616 deletions(-) delete mode 100644 doc/conf.py delete mode 100644 doc/donating.txt delete mode 100644 doc/html/changes-3.5.0.beta1.html delete mode 100644 doc/html/changes-3.5.0.html delete mode 100644 doc/html/changes-3.5.dev.html rename doc/html/{changes-3.6.0.html => changes-3.6.3.html} (98%) delete mode 100644 doc/html/funding.html create mode 100644 doc/pdf/pubkey.asc delete mode 100644 doc/sitemap.txt delete mode 100644 doc/sphinx/FAQ.html delete mode 100644 doc/sphinx/Makefile delete mode 100644 doc/sphinx/_images/tagpython.png delete mode 100644 doc/sphinx/_sources/FAQ.txt delete mode 100644 doc/sphinx/_sources/api.txt delete mode 100644 doc/sphinx/_sources/build.txt delete mode 100644 doc/sphinx/_sources/capi.txt delete mode 100644 doc/sphinx/_sources/compatibility.txt delete mode 100644 doc/sphinx/_sources/cssselect.txt delete mode 100644 doc/sphinx/_sources/element_classes.txt delete mode 100644 doc/sphinx/_sources/elementsoup.txt delete mode 100644 doc/sphinx/_sources/extensions.txt delete mode 100644 doc/sphinx/_sources/html/api/api-objects.txt delete mode 100644 doc/sphinx/_sources/html5parser.txt delete mode 100644 doc/sphinx/_sources/index.txt delete mode 100644 doc/sphinx/_sources/intro.txt delete mode 100644 doc/sphinx/_sources/licenses/BSD.txt delete mode 100644 doc/sphinx/_sources/licenses/GPL.txt delete mode 100644 doc/sphinx/_sources/licenses/ZopePublicLicense.txt delete mode 100644 doc/sphinx/_sources/licenses/elementtree.txt delete mode 100644 doc/sphinx/_sources/lxml-source-howto.txt delete mode 100644 doc/sphinx/_sources/lxml2.txt delete mode 100644 doc/sphinx/_sources/lxmlhtml.txt delete mode 100644 doc/sphinx/_sources/main.txt delete mode 100644 doc/sphinx/_sources/memorymanagement.txt delete mode 100644 doc/sphinx/_sources/objectify.txt delete mode 100644 doc/sphinx/_sources/parsing.txt delete mode 100644 doc/sphinx/_sources/performance.txt delete mode 100644 doc/sphinx/_sources/resolvers.txt delete mode 100644 doc/sphinx/_sources/s5/lxml-ep2008.txt delete mode 100644 doc/sphinx/_sources/sax.txt delete mode 100644 doc/sphinx/_sources/sitemap.txt delete mode 100644 doc/sphinx/_sources/tutorial.txt delete mode 100644 doc/sphinx/_sources/valgrind.txt delete mode 100644 doc/sphinx/_sources/validation.txt delete mode 100644 doc/sphinx/_sources/xpathxslt.txt delete mode 100644 doc/sphinx/_static/basic.css delete mode 100644 doc/sphinx/_static/default.css delete mode 100644 doc/sphinx/_static/pygments.css delete mode 100644 doc/sphinx/_static/sphinxdoc.css delete mode 100644 doc/sphinx/_static/tagpython-big.png delete mode 100644 doc/sphinx/api.html delete mode 100644 doc/sphinx/build.html delete mode 100644 doc/sphinx/capi.html delete mode 100644 doc/sphinx/compatibility.html delete mode 100644 doc/sphinx/cssselect.html delete mode 100644 doc/sphinx/element_classes.html delete mode 100644 doc/sphinx/elementsoup.html delete mode 100644 doc/sphinx/extensions.html delete mode 100644 doc/sphinx/genindex.html delete mode 100644 doc/sphinx/html/api/api-objects.html delete mode 100644 doc/sphinx/html5parser.html delete mode 100644 doc/sphinx/index.html delete mode 100644 doc/sphinx/intro.html delete mode 100644 doc/sphinx/licenses/BSD.html delete mode 100644 doc/sphinx/licenses/GPL.html delete mode 100644 doc/sphinx/licenses/ZopePublicLicense.html delete mode 100644 doc/sphinx/licenses/elementtree.html delete mode 100644 doc/sphinx/lxml-source-howto.html delete mode 100644 doc/sphinx/lxml2.html delete mode 100644 doc/sphinx/lxmlhtml.html delete mode 100644 doc/sphinx/main.html delete mode 100644 doc/sphinx/memorymanagement.html delete mode 100644 doc/sphinx/objectify.html delete mode 100644 doc/sphinx/parsing.html delete mode 100644 doc/sphinx/performance.html delete mode 100644 doc/sphinx/resolvers.html delete mode 100644 doc/sphinx/s5/lxml-ep2008.html delete mode 100644 doc/sphinx/sax.html delete mode 100644 doc/sphinx/search.html delete mode 100644 doc/sphinx/sitemap.html delete mode 100644 doc/sphinx/tutorial.html delete mode 100644 doc/sphinx/valgrind.html delete mode 100644 doc/sphinx/validation.html delete mode 100644 doc/sphinx/xpathxslt.html diff --git a/CHANGES.txt b/CHANGES.txt index 6f9a579..1d7f94f 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -2,6 +2,12 @@ lxml changelog ============== +3.6.3 (2016-08-18) +================== + +* release without source changes to provide cleanly built Linux wheels + + 3.6.2 (2016-08-18) ================== diff --git a/PKG-INFO b/PKG-INFO index d6a6f22..90b8e97 100644 --- a/PKG-INFO +++ b/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: lxml -Version: 3.6.2 +Version: 3.6.3 Summary: Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API. Home-page: http://lxml.de/ Author: lxml dev team @@ -36,7 +36,7 @@ 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. - 3.6.2 (2016-08-18) + 3.6.3 (2016-08-18) ================== * release without source changes to provide cleanly built Linux wheels diff --git a/doc/conf.py b/doc/conf.py deleted file mode 100644 index bd6ec38..0000000 --- a/doc/conf.py +++ /dev/null @@ -1,195 +0,0 @@ -# -*- coding: utf-8 -*- -# -# lxml documentation build configuration file, created by -# sphinx-quickstart on Thu Mar 10 22:53:40 2011. -# -# This file is execfile()d with the current directory set to its containing dir. -# -# Note that not all possible configuration values are present in this -# autogenerated file. -# -# All configuration values have a default; values that are commented out -# serve to show the default. - -import sys, os - -# If extensions (or modules to document with autodoc) are in another directory, -# add these directories to sys.path here. If the directory is relative to the -# documentation root, use os.path.abspath to make it absolute, like shown here. -#sys.path.append(os.path.abspath('.')) - -# -- General configuration ----------------------------------------------------- - -# Add any Sphinx extension module names here, as strings. They can be extensions -# coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.coverage'] - -# Add any paths that contain templates here, relative to this directory. -templates_path = ['_templates'] - -# The suffix of source filenames. -source_suffix = '.txt' - -# The encoding of source files. -#source_encoding = 'utf-8' - -# The master toctree document. -master_doc = 'main' - -# General information about the project. -project = u'lxml' -copyright = u'2011, Stefan Behnel et al.' - -# The version info for the project you're documenting, acts as replacement for -# |version| and |release|, also used in various other places throughout the -# built documents. -# -# The short X.Y version. -version = '2.3' -# The full version, including alpha/beta/rc tags. -release = '2.3' - -# The language for content autogenerated by Sphinx. Refer to documentation -# for a list of supported languages. -language = 'en' # None - -# There are two options for replacing |today|: either, you set today to some -# non-false value, then it is used: -#today = '' -# Else, today_fmt is used as the format for a strftime call. -#today_fmt = '%B %d, %Y' - -# List of documents that shouldn't be included in the build. -unused_docs = ['licenses/GPL', 'licenses/BSD', 'licenses/ZopePublicLicense', 'licenses/elementtree', - 'lxml2', 'memorymanagement', 'valgrind'] - -# List of directories, relative to source directory, that shouldn't be searched -# for source files. -exclude_trees = ['_build'] - -# The reST default role (used for this markup: `text`) to use for all documents. -#default_role = None - -# If true, '()' will be appended to :func: etc. cross-reference text. -#add_function_parentheses = True - -# If true, the current module name will be prepended to all description -# unit titles (such as .. function::). -#add_module_names = True - -# If true, sectionauthor and moduleauthor directives will be shown in the -# output. They are ignored by default. -#show_authors = False - -# The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' - -# A list of ignored prefixes for module index sorting. -#modindex_common_prefix = [] - - -# -- Options for HTML output --------------------------------------------------- - -# The theme to use for HTML and HTML Help pages. Major themes that come with -# Sphinx are currently 'default' and 'sphinxdoc'. -html_theme = 'default' - -# Theme options are theme-specific and customize the look and feel of a theme -# further. For a list of options available for each theme, see the -# documentation. -#html_theme_options = {} - -# Add any paths that contain custom themes here, relative to this directory. -#html_theme_path = [] - -# The name for this set of Sphinx documents. If None, it defaults to -# " v documentation". -html_title = "lxml v%s - Processing XML and HTML with Python" % release - -# A shorter title for the navigation bar. Default is the same as html_title. -#html_short_title = None - -# The name of an image file (relative to this directory) to place at the top -# of the sidebar. -html_logo = '_static/python-xml-title.png' # None - -# The name of an image file (within the static path) to use as favicon of the -# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 -# pixels large. -#html_favicon = 'favicon.ico' - -# Add any paths that contain custom static files (such as style sheets) here, -# relative to this directory. They are copied after the builtin static files, -# so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] - -# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, -# using the given strftime format. -#html_last_updated_fmt = '%b %d, %Y' - -# If true, SmartyPants will be used to convert quotes and dashes to -# typographically correct entities. -#html_use_smartypants = True - -# Custom sidebar templates, maps document names to template names. -#html_sidebars = {} - -# Additional templates that should be rendered to pages, maps page names to -# template names. -#html_additional_pages = {} - -# If false, no module index is generated. -#html_use_modindex = True - -# If false, no index is generated. -#html_use_index = True - -# If true, the index is split into individual pages for each letter. -#html_split_index = False - -# If true, links to the reST sources are added to the pages. -#html_show_sourcelink = True - -# If true, an OpenSearch description file will be output, and all pages will -# contain a tag referring to it. The value of this option must be the -# base URL from which the finished HTML is served. -#html_use_opensearch = '' - -# If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml"). -#html_file_suffix = '' - -# Output file base name for HTML help builder. -htmlhelp_basename = 'lxmldoc' - - -# -- Options for LaTeX output -------------------------------------------------- - -# The paper size ('letter' or 'a4'). -#latex_paper_size = 'letter' - -# The font size ('10pt', '11pt' or '12pt'). -#latex_font_size = '10pt' - -# Grouping the document tree into LaTeX files. List of tuples -# (source start file, target name, title, author, documentclass [howto/manual]). -latex_documents = [ - ('main', 'lxml.tex', u'lxml Documentation', - u'Stefan Behnel', 'manual'), -] - -# The name of an image file (relative to this directory) to place at the top of -# the title page. -#latex_logo = None - -# For "manual" documents, if this is true, then toplevel headings are parts, -# not chapters. -#latex_use_parts = False - -# Additional stuff for the LaTeX preamble. -#latex_preamble = '' - -# Documents to append as an appendix to all manuals. -#latex_appendices = [] - -# If false, no module index is generated. -#latex_use_modindex = True diff --git a/doc/donating.txt b/doc/donating.txt deleted file mode 100644 index 0e1a2df..0000000 --- a/doc/donating.txt +++ /dev/null @@ -1,60 +0,0 @@ -===================== -Donate to the project -===================== - -PayPal donations are used to cover the costs for project hosting, general -maintenance and support. Basically, they are what keeps the free lxml -software alive for everyone to use. - -If, instead, you are interested in financing the development of specific -features or the resolution of a specific problem, get in touch with the -lead developer, `Stefan Behnel `_. - - -Making a one-time donation --------------------------- - -When you click the PayPal icon, you will be taken to the PayPal website -where you can donate any amount up to ten thousand US dollars or the -equivalent in another currency to the lxml project. Note that you do -not have to create a PayPal account in order to donate money to the -lxml project. You can also pay with your credit card or by other means -directly. Please make sure you have read the legal notice at the bottom -of this page. - -ONETIMEBUTTON - -Regular contribution each month -------------------------------- - -If you would like to donate money to the lxml project each month through -your PayPal subscription, please select a currency and amount and then -click the PayPal icon. You will be taken to the PayPal website where -you can initiate the monthly donation. After that, your credit card will -be automatically charged each month via PayPal until you cancel this -monthly donation. If you do not have a PayPal account, you will need to -create one on the PayPal website. Please make sure you have read the -legal notice at the bottom of this page. - -REGULARBUTTON - ------- - -Legal notice - By making a donation to the lxml project you state that you have - acknowledged, understood, accepted, and agreed to the terms and - conditions contained in this notice. Your donation to the lxml - project is voluntary and is not a fee for any services, goods, - or advantages. Making a donation to the lxml project does not - entitle you to any services, goods, or advantages. We have the - right to use the money you donate to the lxml project in any - lawful way and for any lawful purpose we see fit and we are not - obligated to disclose the way and purpose to any party unless - required by applicable law. Although lxml is free software, to - our best knowledge the lxml project does not have any tax exempt - status. The lxml project is neither a registered non-profit - corporation nor a registered charity in any country. Your donation - may or may not be tax-deductible; please consult your tax advisor - in this matter. We will not publish or disclose your name and/or - e-mail address without your consent, unless required by applicable - law. Your donation is non-refundable. diff --git a/doc/html/FAQ.html b/doc/html/FAQ.html index dd66f64..6c71081 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.

@@ -185,7 +185,7 @@ a web server accelerator with on-the-fly XSLT processing a secure HTTP proxy
  • lwebstring, an XML template engine
  • -
  • openpyxl, +
  • openpyxl, a library to read/write MS Excel 2007 files
  • OpenXMLlib, a library for handling OpenXML document meta data
  • @@ -263,19 +263,19 @@ also the section on threadingThe ElementTree tree model defines an Element as a container with a tag name, contained text, child Elements and a tail text. This means that whenever you serialise an Element, you will get all parts of that Element:

    -
    >>> root = etree.XML("<root><tag>text<child/></tag>tail</root>")
    +
    >>> root = etree.XML("<root><tag>text<child/></tag>tail</root>")
     >>> print(etree.tostring(root[0]))
     <tag>text<child/></tag>tail
     

    Here is an example that shows why not serialising the tail would be even more surprising from an object point of view:

    -
    >>> root = etree.Element("test")
    +
    >>> root = etree.Element("test")
     
    ->>> root.text = "TEXT"
    +>>> root.text = "TEXT"
     >>> print(etree.tostring(root))
     <test>TEXT</test>
     
    ->>> root.tail = "TAIL"
    +>>> root.tail = "TAIL"
     >>> print(etree.tostring(root))
     <test>TEXT</test>TAIL
     
    @@ -297,7 +297,7 @@ places, as most HTML algorithms benefit from a tail-free behaviour.

    How can I find out if an Element is a comment or PI?

    -
    >>> root = etree.XML("<?my PI?><root><!-- empty --></root>")
    +
    >>> root = etree.XML("<?my PI?><root><!-- empty --></root>")
     
     >>> root.tag
     'root'
    @@ -491,12 +491,12 @@ versions of libxml2 and libxslt - and make sure they are used.
     
    import sys
     from lxml import etree
     
    -print("%-20s: %s" % ('Python',           sys.version_info))
    -print("%-20s: %s" % ('lxml.etree',       etree.LXML_VERSION))
    -print("%-20s: %s" % ('libxml used',      etree.LIBXML_VERSION))
    -print("%-20s: %s" % ('libxml compiled',  etree.LIBXML_COMPILED_VERSION))
    -print("%-20s: %s" % ('libxslt used',     etree.LIBXSLT_VERSION))
    -print("%-20s: %s" % ('libxslt compiled', etree.LIBXSLT_COMPILED_VERSION))
    +print("%-20s: %s" % ('Python',           sys.version_info))
    +print("%-20s: %s" % ('lxml.etree',       etree.LXML_VERSION))
    +print("%-20s: %s" % ('libxml used',      etree.LIBXML_VERSION))
    +print("%-20s: %s" % ('libxml compiled',  etree.LIBXML_COMPILED_VERSION))
    +print("%-20s: %s" % ('libxslt used',     etree.LIBXSLT_VERSION))
    +print("%-20s: %s" % ('libxslt compiled', etree.LIBXSLT_COMPILED_VERSION))
     

    If you can figure that the problem is not in lxml but in the underlying libxml2 or libxslt, you can ask right on the respective @@ -731,7 +731,7 @@ e.g. in the page header, between table structure tags, etc. Therefore, it is also safe to use this option with the HTMLParser, as it will keep content like the following intact (i.e. it will not remove the space that separates the two words):

    -
    <p><b>some</b> <em>text</em></p>
    +
    <p><b>some</b> <em>text</em></p>
     

    If you want to be sure all blank text is removed from an XML document (or just more blank text than the parser does by itself), you have to @@ -955,7 +955,7 @@ map it to your namespace. See also the question above.

    diff --git a/doc/html/api.html b/doc/html/api.html index 211a309..b7a4d8d 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 @@ -81,12 +81,12 @@ mapping between libxml2 nodes and the Element classes used by lxml.etree.

    Trees and Documents

    Compared to the original ElementTree API, lxml.etree has an extended tree model. It knows about parents and siblings of elements:

    -
    >>> root = etree.Element("root")
    ->>> a = etree.SubElement(root, "a")
    ->>> b = etree.SubElement(root, "b")
    ->>> c = etree.SubElement(root, "c")
    ->>> d = etree.SubElement(root, "d")
    ->>> e = etree.SubElement(d,    "e")
    +
    >>> root = etree.Element("root")
    +>>> a = etree.SubElement(root, "a")
    +>>> b = etree.SubElement(root, "b")
    +>>> c = etree.SubElement(root, "c")
    +>>> d = etree.SubElement(root, "d")
    +>>> e = etree.SubElement(d,    "e")
     >>> b.getparent() == root
     True
     >>> print(b.getnext().tag)
    @@ -162,15 +162,15 @@ itself, as opposed to element.iter().  The lat
     implements the 'descendant-or-self' axis in XPath.

    All of these iterators support one (or more, since lxml 3.0) additional arguments that filter the generated elements by tag name:

    -
    >>> [ child.tag for child in root.iterchildren('a') ]
    +
    >>> [ child.tag for child in root.iterchildren('a') ]
     ['a']
    ->>> [ child.tag for child in d.iterchildren('a') ]
    +>>> [ child.tag for child in d.iterchildren('a') ]
     []
    ->>> [ el.tag for el in root.iterdescendants('d') ]
    +>>> [ el.tag for el in root.iterdescendants('d') ]
     ['d']
    ->>> [ el.tag for el in root.iter('d') ]
    +>>> [ el.tag for el in root.iter('d') ]
     ['d']
    ->>> [ el.tag for el in root.iter('d', 'a') ]
    +>>> [ el.tag for el in root.iter('d', 'a') ]
     ['a', 'd']
     

    Note that the order of the elements is determined by the iteration order, @@ -183,8 +183,8 @@ traverses the tree in document order. This is implemented by the .iter() method. While there is no dedicated method for breadth-first traversal, it is almost as simple if you use the collections.deque type that is available in Python 2.4 and later.

    -
    >>> root = etree.XML('<root><a><b/><c/></a><d><e/></d></root>')
    ->>> print(etree.tostring(root, pretty_print=True, encoding='unicode'))
    +
    >>> root = etree.XML('<root><a><b/><c/></a><d><e/></d></root>')
    +>>> print(etree.tostring(root, pretty_print=True, encoding='unicode'))
     <root>
       <a>
         <b/>
    @@ -197,8 +197,8 @@ breadth-first traversal, it is almost as simple if you use the
     
     >>> queue = deque([root])
     >>> while queue:
    -...    el = queue.popleft()  # pop next element
    -...    queue.extend(el)      # append its children
    +...    el = queue.popleft()  # pop next element
    +...    queue.extend(el)      # append its children
     ...    print(el.tag)
     root
     a
    @@ -221,15 +221,15 @@ application level.  Whenever an exception is raised, you can retrieve the
     errors that occurred and "might have" lead to the problem from the error log
     copy attached to the exception:

    >>> etree.clear_error_log()
    ->>> broken_xml = '''
    -... <root>
    -...   <a>
    -... </root>
    -... '''
    +>>> broken_xml = '''
    +... <root>
    +...   <a>
    +... </root>
    +... '''
     >>> try:
     ...   etree.parse(StringIO(broken_xml))
     ... except etree.XMLSyntaxError, e:
    -...   pass # just put the exception into e
    +...   pass # just put the exception into e
     

    Once you have caught this exception, you can access its error_log property to retrieve the log entries or filter them by a specific type, error domain or @@ -279,7 +279,7 @@ the local error logs of XSLT, XMLSchema, etc.

    lxml.etree has direct support for pretty printing XML output. Functions like ElementTree.write() and tostring() support it through a keyword argument:

    -
    >>> root = etree.XML("<root><test/></root>")
    +
    >>> root = etree.XML("<root><test/></root>")
     >>> etree.tostring(root)
     b'<root><test/></root>'
     
    @@ -292,12 +292,12 @@ argument:

    output. It was added in lxml 2.0.

    By default, lxml (just as ElementTree) outputs the XML declaration only if it is required by the standard:

    -
    >>> unicode_root = etree.Element( u"t\u3120st" )
    ->>> unicode_root.text = u"t\u0A0Ast"
    ->>> etree.tostring(unicode_root, encoding="utf-8")
    +
    >>> unicode_root = etree.Element( u"t\u3120st" )
    +>>> unicode_root.text = u"t\u0A0Ast"
    +>>> etree.tostring(unicode_root, encoding="utf-8")
     b'<t\xe3\x84\xa0st>t\xe0\xa8\x8ast</t\xe3\x84\xa0st>'
     
    ->>> print(etree.tostring(unicode_root, encoding="iso-8859-1"))
    +>>> print(etree.tostring(unicode_root, encoding="iso-8859-1"))
     <?xml version='1.0' encoding='iso-8859-1'?>
     <t&#12576;st>t&#2570;st</t&#12576;st>
     
    @@ -309,23 +309,23 @@ keyword argument for the serialisation:

    <root><test/></root> >>> unicode_root.clear() ->>> etree.tostring(unicode_root, encoding="UTF-16LE", +>>> etree.tostring(unicode_root, encoding="UTF-16LE", ... xml_declaration=False) b'<\x00t\x00 1s\x00t\x00/\x00>\x00'

    Note that a standard compliant XML parser will not consider the last line well-formed XML if the encoding is not explicitly provided somehow, e.g. in an underlying transport protocol:

    -
    >>> notxml = etree.tostring(unicode_root, encoding="UTF-16LE",
    +
    >>> notxml = etree.tostring(unicode_root, encoding="UTF-16LE",
     ...                                       xml_declaration=False)
    ->>> root = etree.XML(notxml)        #doctest: +ELLIPSIS
    +>>> root = etree.XML(notxml)        #doctest: +ELLIPSIS
     Traceback (most recent call last):
       ...
     lxml.etree.XMLSyntaxError: ...
     

    Since version 2.3, the serialisation can override the internal subset of the document with a user provided DOCTYPE:

    -
    >>> xml = '<!DOCTYPE root>\n<root/>'
    +
    >>> xml = '<!DOCTYPE root>\n<root/>'
     >>> tree = etree.parse(StringIO(xml))
     
     >>> print(etree.tostring(tree))
    @@ -333,7 +333,7 @@ of the document with a user provided DOCTYPE:

    <root/> >>> print(etree.tostring(tree, -... doctype='<!DOCTYPE root SYSTEM "/tmp/test.dtd">')) +... doctype='<!DOCTYPE root SYSTEM "/tmp/test.dtd">')) <!DOCTYPE root SYSTEM "/tmp/test.dtd"> <root/>
    @@ -445,7 +445,7 @@ document is required to adhere to existing XML language definitions. For these special cases, you can instruct the parser to leave CDATA sections in the document:

    >>> parser = etree.XMLParser(strip_cdata=False)
    ->>> root = etree.XML('<root><![CDATA[test]]></root>', parser)
    +>>> root = etree.XML('<root><![CDATA[test]]></root>', parser)
     >>> root.text
     'test'
     
    @@ -456,7 +456,7 @@ sections in the document:

    text content is wrapped by a CDATA section. If you want to make sure your data is wrapped by a CDATA block, you can use the CDATA() text wrapper:

    -
    >>> root.text = 'test'
    +
    >>> root.text = 'test'
     
     >>> root.text
     'test'
    @@ -475,11 +475,11 @@ text wrapper:

    XInclude and ElementInclude

    You can let lxml process xinclude statements in a document by calling the xinclude() method on a tree:

    -
    >>> data = StringIO('''\
    -... <doc xmlns:xi="http://www.w3.org/2001/XInclude">
    -... <foo/>
    -... <xi:include href="doc/test.xml" />
    -... </doc>''')
    +
    >>> data = StringIO('''\
    +... <doc xmlns:xi="http://www.w3.org/2001/XInclude">
    +... <foo/>
    +... <xi:include href="doc/test.xml" />
    +... </doc>''')
     
     >>> tree = etree.parse(data)
     >>> tree.xinclude()
    @@ -501,18 +501,18 @@ resolvers, you have to stick to the external Python module.

    object as argument. This file object will receive an UTF-8 representation of the canonicalized form of the XML, following the W3C C14N recommendation. For example:

    -
    >>> f = StringIO('<a><b/></a>')
    +
    >>> f = StringIO('<a><b/></a>')
     >>> tree = etree.parse(f)
     >>> f2 = StringIO()
     >>> tree.write_c14n(f2)
    ->>> print(f2.getvalue().decode("utf-8"))
    +>>> print(f2.getvalue().decode("utf-8"))
     <a><b></b></a>
     
    diff --git a/doc/html/api/abc.ABCMeta-class.html b/doc/html/api/abc.ABCMeta-class.html index 78c9a1d..b613fa4 100644 --- a/doc/html/api/abc.ABCMeta-class.html +++ b/doc/html/api/abc.ABCMeta-class.html @@ -259,7 +259,7 @@ even via super()).

      - _abc_invalidation_counter = 22 + _abc_invalidation_counter = 21 @@ -426,7 +426,8 @@ even via super()).