From 6533bc9099536550a7052242f922c965f52576f1 Mon Sep 17 00:00:00 2001
From: Hyunjee Kim
Date: Thu, 31 Jan 2019 10:33:25 +0900
Subject: [PATCH] Imported Upstream version 3.2.1
Change-Id: I07bbacc5ba28698ceaa949af1d86e2186ea292e1
Signed-off-by: Hyunjee Kim
---
CHANGES.txt | 29 +
PKG-INFO | 36 +-
doc/extensions.txt | 25 +-
doc/html/FAQ.html | 4 +-
doc/html/api.html | 4 +-
doc/html/api/abc.ABCMeta-class.html | 4 +-
doc/html/api/api-objects.txt | 66 +-
doc/html/api/class-tree.html | 73 +-
.../cssselect.parser.SelectorError-class.html | 216 +
...lect.parser.SelectorSyntaxError-class.html | 223 +
...cssselect.xpath.ExpressionError-class.html | 215 +
.../api/cssselect.xpath.XPathExpr-class.html | 401 +
doc/html/api/deprecated-index.html | 2 +-
.../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 | 21 +-
doc/html/api/identifier-index-D.html | 2 +-
doc/html/api/identifier-index-E.html | 355 +-
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 | 8 +-
doc/html/api/identifier-index-T.html | 1872 +-
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 | 62 +-
doc/html/api/identifier-index-Y.html | 2 +-
doc/html/api/identifier-index-Z.html | 2 +-
doc/html/api/identifier-index-_.html | 886 +-
doc/html/api/identifier-index.html | 2 +-
doc/html/api/lxml-module.html | 2 +-
doc/html/api/lxml-pysrc.html | 2 +-
doc/html/api/lxml.ElementInclude-module.html | 2 +-
doc/html/api/lxml.ElementInclude-pysrc.html | 2 +-
...lementInclude.FatalIncludeError-class.html | 2 +-
doc/html/api/lxml.builder-module.html | 6 +-
doc/html/api/lxml.builder-pysrc.html | 2 +-
.../api/lxml.builder.ElementMaker-class.html | 2 +-
doc/html/api/lxml.cssselect-module.html | 52 +-
doc/html/api/lxml.cssselect-pysrc.html | 48 +-
.../api/lxml.cssselect.CSSSelector-class.html | 6 +-
...ml.cssselect.LxmlHTMLTranslator-class.html | 195 +-
.../lxml.cssselect.LxmlTranslator-class.html | 234 +-
doc/html/api/lxml.doctestcompare-module.html | 2 +-
doc/html/api/lxml.doctestcompare-pysrc.html | 2 +-
...ctestcompare.LHTMLOutputChecker-class.html | 2 +-
...octestcompare.LXMLOutputChecker-class.html | 2 +-
....doctestcompare._RestoreChecker-class.html | 2 +-
doc/html/api/lxml.etree-module.html | 28 +-
.../lxml.etree.AncestorsIterator-class.html | 2 +-
...ttributeBasedElementClassLookup-class.html | 2 +-
doc/html/api/lxml.etree.C14NError-class.html | 2 +-
doc/html/api/lxml.etree.CDATA-class.html | 2 +-
.../api/lxml.etree.CommentBase-class.html | 2 +-
....etree.CustomElementClassLookup-class.html | 2 +-
doc/html/api/lxml.etree.DTD-class.html | 2 +-
doc/html/api/lxml.etree.DTDError-class.html | 2 +-
.../api/lxml.etree.DTDParseError-class.html | 2 +-
.../lxml.etree.DTDValidateError-class.html | 2 +-
doc/html/api/lxml.etree.DocInfo-class.html | 2 +-
.../api/lxml.etree.DocumentInvalid-class.html | 2 +-
.../lxml.etree.ETCompatXMLParser-class.html | 2 +-
doc/html/api/lxml.etree.ETXPath-class.html | 2 +-
.../api/lxml.etree.ElementBase-class.html | 2 +-
...lxml.etree.ElementChildIterator-class.html | 2 +-
.../lxml.etree.ElementClassLookup-class.html | 2 +-
...etree.ElementDefaultClassLookup-class.html | 2 +-
...etree.ElementDepthFirstIterator-class.html | 2 +-
...ree.ElementNamespaceClassLookup-class.html | 2 +-
.../lxml.etree.ElementTextIterator-class.html | 2 +-
doc/html/api/lxml.etree.EntityBase-class.html | 2 +-
doc/html/api/lxml.etree.Error-class.html | 2 +-
.../api/lxml.etree.ErrorDomains-class.html | 2 +-
.../api/lxml.etree.ErrorLevels-class.html | 2 +-
doc/html/api/lxml.etree.ErrorTypes-class.html | 2 +-
...tree.FallbackElementClassLookup-class.html | 2 +-
doc/html/api/lxml.etree.HTMLParser-class.html | 2 +-
doc/html/api/lxml.etree.LxmlError-class.html | 2 +-
.../lxml.etree.LxmlRegistryError-class.html | 2 +-
.../api/lxml.etree.LxmlSyntaxError-class.html | 2 +-
...ml.etree.NamespaceRegistryError-class.html | 2 +-
doc/html/api/lxml.etree.PIBase-class.html | 2 +-
doc/html/api/lxml.etree.ParseError-class.html | 2 +-
...e.ParserBasedElementClassLookup-class.html | 2 +-
.../api/lxml.etree.ParserError-class.html | 2 +-
doc/html/api/lxml.etree.PyErrorLog-class.html | 2 +-
....etree.PythonElementClassLookup-class.html | 2 +-
doc/html/api/lxml.etree.QName-class.html | 2 +-
doc/html/api/lxml.etree.RelaxNG-class.html | 2 +-
.../api/lxml.etree.RelaxNGError-class.html | 2 +-
.../lxml.etree.RelaxNGErrorTypes-class.html | 2 +-
.../lxml.etree.RelaxNGParseError-class.html | 2 +-
...lxml.etree.RelaxNGValidateError-class.html | 2 +-
doc/html/api/lxml.etree.Resolver-class.html | 2 +-
doc/html/api/lxml.etree.Schematron-class.html | 2 +-
.../api/lxml.etree.SchematronError-class.html | 2 +-
...lxml.etree.SchematronParseError-class.html | 2 +-
...l.etree.SchematronValidateError-class.html | 2 +-
.../lxml.etree.SerialisationError-class.html | 2 +-
.../lxml.etree.SiblingsIterator-class.html | 2 +-
.../api/lxml.etree.TreeBuilder-class.html | 2 +-
doc/html/api/lxml.etree.XInclude-class.html | 2 +-
.../api/lxml.etree.XIncludeError-class.html | 2 +-
doc/html/api/lxml.etree.XMLParser-class.html | 2 +-
doc/html/api/lxml.etree.XMLSchema-class.html | 2 +-
.../api/lxml.etree.XMLSchemaError-class.html | 2 +-
.../lxml.etree.XMLSchemaParseError-class.html | 2 +-
...ml.etree.XMLSchemaValidateError-class.html | 2 +-
.../api/lxml.etree.XMLSyntaxError-class.html | 2 +-
doc/html/api/lxml.etree.XPath-class.html | 4 +-
...ml.etree.XPathDocumentEvaluator-class.html | 2 +-
...xml.etree.XPathElementEvaluator-class.html | 2 +-
doc/html/api/lxml.etree.XPathError-class.html | 2 +-
.../api/lxml.etree.XPathEvalError-class.html | 2 +-
.../lxml.etree.XPathFunctionError-class.html | 2 +-
.../lxml.etree.XPathResultError-class.html | 2 +-
.../lxml.etree.XPathSyntaxError-class.html | 2 +-
doc/html/api/lxml.etree.XSLT-class.html | 2 +-
.../lxml.etree.XSLTAccessControl-class.html | 2 +-
.../api/lxml.etree.XSLTApplyError-class.html | 2 +-
doc/html/api/lxml.etree.XSLTError-class.html | 2 +-
.../api/lxml.etree.XSLTExtension-class.html | 38 +-
.../lxml.etree.XSLTExtensionError-class.html | 2 +-
.../api/lxml.etree.XSLTParseError-class.html | 2 +-
.../api/lxml.etree.XSLTSaveError-class.html | 2 +-
doc/html/api/lxml.etree._Attrib-class.html | 2 +-
.../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 +-
.../api/lxml.etree._DomainErrorLog-class.html | 2 +-
doc/html/api/lxml.etree._Element-class.html | 2 +-
.../lxml.etree._ElementIterator-class.html | 2 +-
...xml.etree._ElementMatchIterator-class.html | 2 +-
...lxml.etree._ElementStringResult-class.html | 2 +-
.../lxml.etree._ElementTagMatcher-class.html | 2 +-
.../api/lxml.etree._ElementTree-class.html | 2 +-
...xml.etree._ElementUnicodeResult-class.html | 2 +-
doc/html/api/lxml.etree._Entity-class.html | 2 +-
doc/html/api/lxml.etree._ErrorLog-class.html | 2 +-
.../api/lxml.etree._FeedParser-class.html | 2 +-
doc/html/api/lxml.etree._IDDict-class.html | 2 +-
.../api/lxml.etree._ListErrorLog-class.html | 2 +-
doc/html/api/lxml.etree._LogEntry-class.html | 2 +-
...ml.etree._ProcessingInstruction-class.html | 2 +-
.../lxml.etree._RotatingErrorLog-class.html | 2 +-
.../lxml.etree._SaxParserTarget-class.html | 2 +-
.../lxml.etree._TargetParserResult-class.html | 2 +-
doc/html/api/lxml.etree._Validator-class.html | 2 +-
.../lxml.etree._XPathEvaluatorBase-class.html | 2 +-
...tree._XSLTProcessingInstruction-class.html | 2 +-
.../api/lxml.etree._XSLTResultTree-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 | 6 +-
doc/html/api/lxml.html-pysrc.html | 7 +-
.../api/lxml.html.CheckboxGroup-class.html | 2 +-
.../api/lxml.html.CheckboxValues-class.html | 2 +-
.../api/lxml.html.ElementSoup-module.html | 2 +-
doc/html/api/lxml.html.ElementSoup-pysrc.html | 2 +-
doc/html/api/lxml.html.FieldsDict-class.html | 8 +-
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 +-
...xml.html.HtmlElementClassLookup-class.html | 2 +-
doc/html/api/lxml.html.HtmlEntity-class.html | 2 +-
doc/html/api/lxml.html.HtmlMixin-class.html | 2 +-
....html.HtmlProcessingInstruction-class.html | 2 +-
.../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 +-
.../api/lxml.html.LabelElement-class.html | 2 +-
...lxml.html.MultipleSelectOptions-class.html | 2 +-
doc/html/api/lxml.html.RadioGroup-class.html | 2 +-
.../api/lxml.html.SelectElement-class.html | 2 +-
.../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 | 6 +-
doc/html/api/lxml.html.clean-pysrc.html | 2 +-
.../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 | 8 +-
doc/html/api/lxml.html.diff-pysrc.html | 2 +-
.../api/lxml.html.diff.DEL_END-class.html | 2 +-
.../api/lxml.html.diff.DEL_START-class.html | 2 +-
...diff.InsensitiveSequenceMatcher-class.html | 2 +-
.../api/lxml.html.diff.NoDeletes-class.html | 2 +-
.../api/lxml.html.diff.href_token-class.html | 2 +-
.../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 | 4 +-
doc/html/api/lxml.html.formfill-pysrc.html | 2 +-
...ml.formfill.DefaultErrorCreator-class.html | 2 +-
...lxml.html.formfill.FormNotFound-class.html | 2 +-
.../api/lxml.html.html5parser-module.html | 2 +-
doc/html/api/lxml.html.html5parser-pysrc.html | 2 +-
...xml.html.html5parser.HTMLParser-class.html | 2 +-
...ml.html.html5parser.XHTMLParser-class.html | 2 +-
doc/html/api/lxml.html.soupparser-module.html | 2 +-
doc/html/api/lxml.html.soupparser-pysrc.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 | 8 +-
doc/html/api/lxml.isoschematron-pysrc.html | 2 +-
.../lxml.isoschematron.Schematron-class.html | 2 +-
doc/html/api/lxml.objectify-module.html | 4 +-
.../api/lxml.objectify.BoolElement-class.html | 2 +-
.../lxml.objectify.ElementMaker-class.html | 2 +-
.../lxml.objectify.FloatElement-class.html | 2 +-
.../api/lxml.objectify.IntElement-class.html | 2 +-
.../api/lxml.objectify.LongElement-class.html | 2 +-
.../api/lxml.objectify.NoneElement-class.html | 2 +-
.../lxml.objectify.NumberElement-class.html | 2 +-
.../api/lxml.objectify.ObjectPath-class.html | 2 +-
...bjectify.ObjectifiedDataElement-class.html | 2 +-
...ml.objectify.ObjectifiedElement-class.html | 2 +-
...ify.ObjectifyElementClassLookup-class.html | 2 +-
doc/html/api/lxml.objectify.PyType-class.html | 2 +-
.../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 | 2 +-
doc/html/api/lxml.sax-pysrc.html | 2 +-
...l.sax.ElementTreeContentHandler-class.html | 2 +-
.../lxml.sax.ElementTreeProducer-class.html | 2 +-
doc/html/api/lxml.sax.SaxError-class.html | 2 +-
doc/html/api/lxml.tests-module.html | 2 +-
doc/html/api/lxml.tests-pysrc.html | 2 +-
.../api/lxml.tests.common_imports-module.html | 2 +-
.../api/lxml.tests.common_imports-pysrc.html | 48 +-
...s.common_imports.HelperTestCase-class.html | 2 +-
...ts.common_imports.LargeFileLike-class.html | 2 +-
...on_imports.LargeFileLikeUnicode-class.html | 2 +-
...ts.common_imports.SillyFileLike-class.html | 2 +-
.../lxml.tests.dummy_http_server-module.html | 2 +-
.../lxml.tests.dummy_http_server-pysrc.html | 2 +-
...ttp_server.HTTPRequestCollector-class.html | 2 +-
...sts.dummy_http_server.WebServer-class.html | 2 +-
...mmy_http_server._RequestHandler-class.html | 2 +-
.../api/lxml.tests.test_builder-module.html | 2 +-
.../api/lxml.tests.test_builder-pysrc.html | 2 +-
...ts.test_builder.BuilderTestCase-class.html | 2 +-
.../lxml.tests.test_classlookup-module.html | 2 +-
.../lxml.tests.test_classlookup-pysrc.html | 786 +-
...classlookup.ClassLookupTestCase-class.html | 18 +-
....test_classlookup.ProxyTestCase-class.html | 66 +-
doc/html/api/lxml.tests.test_css-module.html | 10 +-
doc/html/api/lxml.tests.test_css-pysrc.html | 31 +-
...lxml.tests.test_css.CSSTestCase-class.html | 2 +-
doc/html/api/lxml.tests.test_dtd-module.html | 2 +-
doc/html/api/lxml.tests.test_dtd-pysrc.html | 10 +-
...tests.test_dtd.ETreeDtdTestCase-class.html | 8 +-
.../lxml.tests.test_elementtree-module.html | 2 +-
.../lxml.tests.test_elementtree-pysrc.html | 12310 +++--
...lementtree.CElementTreeTestCase-class.html | 3 +-
....test_elementtree.ETreeTestCase-class.html | 3 +-
...elementtree.ElementTreeTestCase-class.html | 3 +-
..._elementtree._ETreeTestCaseBase-class.html | 19 +-
.../api/lxml.tests.test_errors-module.html | 2 +-
.../api/lxml.tests.test_errors-pysrc.html | 2 +-
...tests.test_errors.ErrorTestCase-class.html | 2 +-
.../api/lxml.tests.test_etree-module.html | 2 +-
doc/html/api/lxml.tests.test_etree-pysrc.html | 4927 +-
...ts.test_etree.ETreeC14NTestCase-class.html | 2 +-
...ts.test_etree.ETreeErrorLogTest-class.html | 2 +-
...ts.test_etree.ETreeOnlyTestCase-class.html | 66 +-
...s.test_etree.ETreeWriteTestCase-class.html | 2 +-
...est_etree.ETreeXIncludeTestCase-class.html | 2 +-
...st_etree.ElementIncludeTestCase-class.html | 2 +-
...ts.test_etree._XIncludeTestCase-class.html | 2 +-
.../lxml.tests.test_htmlparser-module.html | 4 +-
.../api/lxml.tests.test_htmlparser-pysrc.html | 2 +-
...t_htmlparser.HtmlParserTestCase-class.html | 2 +-
.../api/lxml.tests.test_http_io-module.html | 2 +-
.../api/lxml.tests.test_http_io-pysrc.html | 6 +-
...sts.test_http_io.HttpIOTestCase-class.html | 2 +-
...tests.test_incremental_xmlfile-module.html | 2 +-
....tests.test_incremental_xmlfile-pysrc.html | 2 +-
..._xmlfile.BytesIOXmlFileTestCase-class.html | 2 +-
...e.SimpleFileLikeXmlFileTestCase-class.html | 2 +-
...eXmlFileTestCase.SimpleFileLike-class.html | 2 +-
...tal_xmlfile.TempXmlFileTestCase-class.html | 2 +-
...al_xmlfile._XmlFileTestCaseBase-class.html | 2 +-
doc/html/api/lxml.tests.test_io-module.html | 2 +-
doc/html/api/lxml.tests.test_io-pysrc.html | 2 +-
...l.tests.test_io.ETreeIOTestCase-class.html | 2 +-
...s.test_io.ElementTreeIOTestCase-class.html | 2 +-
...l.tests.test_io._IOTestCaseBase-class.html | 2 +-
.../lxml.tests.test_isoschematron-module.html | 2 +-
.../lxml.tests.test_isoschematron-pysrc.html | 2 +-
...tron.ETreeISOSchematronTestCase-class.html | 2 +-
.../api/lxml.tests.test_nsclasses-module.html | 2 +-
.../api/lxml.tests.test_nsclasses-pysrc.html | 5 +-
...s.ETreeNamespaceClassesTestCase-class.html | 2 +-
...paceClassesTestCase.bluff_class-class.html | 2 +-
...ceClassesTestCase.default_class-class.html | 2 +-
...spaceClassesTestCase.maeh_class-class.html | 2 +-
.../api/lxml.tests.test_objectify-module.html | 28 +-
.../api/lxml.tests.test_objectify-pysrc.html | 5 +-
...est_objectify.ObjectifyTestCase-class.html | 2 +-
.../lxml.tests.test_pyclasslookup-module.html | 2 +-
.../lxml.tests.test_pyclasslookup-pysrc.html | 5 +-
...asslookup.PyClassLookupTestCase-class.html | 2 +-
.../api/lxml.tests.test_relaxng-module.html | 2 +-
.../api/lxml.tests.test_relaxng-pysrc.html | 2 +-
...st_relaxng.ETreeRelaxNGTestCase-class.html | 2 +-
doc/html/api/lxml.tests.test_sax-module.html | 2 +-
doc/html/api/lxml.tests.test_sax-pysrc.html | 2 +-
...tests.test_sax.ETreeSaxTestCase-class.html | 2 +-
.../lxml.tests.test_schematron-module.html | 2 +-
.../api/lxml.tests.test_schematron-pysrc.html | 2 +-
...ematron.ETreeSchematronTestCase-class.html | 2 +-
.../api/lxml.tests.test_threading-module.html | 2 +-
.../api/lxml.tests.test_threading-pysrc.html | 6 +-
...hreading.ThreadPipelineTestCase-class.html | 2 +-
...neTestCase.ParseAndExtendWorker-class.html | 2 +-
...eadPipelineTestCase.ParseWorker-class.html | 2 +-
...dPipelineTestCase.ReverseWorker-class.html | 2 +-
...adPipelineTestCase.RotateWorker-class.html | 2 +-
...ipelineTestCase.SerialiseWorker-class.html | 2 +-
...g.ThreadPipelineTestCase.Worker-class.html | 28 +-
...est_threading.ThreadingTestCase-class.html | 2 +-
.../api/lxml.tests.test_unicode-module.html | 4 +-
.../api/lxml.tests.test_unicode-pysrc.html | 2 +-
...ts.test_unicode.UnicodeTestCase-class.html | 2 +-
.../api/lxml.tests.test_xmlschema-module.html | 2 +-
.../api/lxml.tests.test_xmlschema-pysrc.html | 13 +-
...ETreeXMLSchemaResolversTestCase-class.html | 2 +-
...solversTestCase.simple_resolver-class.html | 2 +-
...mlschema.ETreeXMLSchemaTestCase-class.html | 2 +-
...lxml.tests.test_xpathevaluator-module.html | 4 +-
.../lxml.tests.test_xpathevaluator-pysrc.html | 2 +-
...uator.ETreeETXPathClassTestCase-class.html | 2 +-
...aluator.ETreeXPathClassTestCase-class.html | 2 +-
...aluator.ETreeXPathExsltTestCase-class.html | 2 +-
...athevaluator.ETreeXPathTestCase-class.html | 2 +-
doc/html/api/lxml.tests.test_xslt-module.html | 6 +-
doc/html/api/lxml.tests.test_xslt-pysrc.html | 673 +-
...ts.test_xslt.ETreeEXSLTTestCase-class.html | 2 +-
...slt.ETreeXSLTExtElementTestCase-class.html | 34 +-
...t_xslt.ETreeXSLTExtFuncTestCase-class.html | 2 +-
...sts.test_xslt.ETreeXSLTTestCase-class.html | 2 +-
...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 | 2 +-
doc/html/api/redirect.html | 2 +-
doc/html/api/str-class.html | 4 +-
doc/html/api/toc-everything.html | 18 +-
doc/html/api/toc-lxml.cssselect-module.html | 16 +-
.../api/toc-lxml.tests.test_css-module.html | 3 +-
.../api/xml.etree.ElementTree-module.html | 14 +-
doc/html/api/xml.etree.ElementTree-pysrc.html | 1939 +-
.../xml.etree.ElementTree.Element-class.html | 2 +-
...l.etree.ElementTree.ElementTree-class.html | 2 +-
...ml.etree.ElementTree.ParseError-class.html | 2 +-
.../xml.etree.ElementTree.QName-class.html | 2 +-
...l.etree.ElementTree.TreeBuilder-class.html | 2 +-
...xml.etree.ElementTree.XMLParser-class.html | 2 +-
....ElementTree._IterParseIterator-class.html | 2 +-
....ElementTree._SimpleElementPath-class.html | 2 +-
doc/html/build.html | 4 +-
doc/html/capi.html | 4 +-
...{changes-3.2.0.html => changes-3.2.1.html} | 552 +-
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 | 25 +-
doc/html/html5parser.html | 4 +-
doc/html/index.html | 15 +-
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 | 24 +-
doc/html/parsing.html | 6 +-
doc/html/performance.html | 4 +-
doc/html/resolvers.html | 6 +-
doc/html/sax.html | 4 +-
doc/html/sitemap.html | 2 +-
doc/html/tutorial.html | 4 +-
doc/html/validation.html | 10 +-
doc/html/xpathxslt.html | 6 +-
doc/main.txt | 12 +-
src/lxml.egg-info/PKG-INFO | 36 +-
src/lxml.egg-info/SOURCES.txt | 6 +-
src/lxml/classlookup.pxi | 25 +-
src/lxml/includes/lxml-version.h | 2 +-
src/lxml/lxml.etree.c | 45335 ++++++----------
src/lxml/lxml.etree.h | 14 +-
src/lxml/lxml.etree.pyx | 4 +-
src/lxml/lxml.objectify.c | 6389 +--
src/lxml/proxy.pxi | 18 +-
src/lxml/readonlytree.pxi | 4 +-
src/lxml/tests/common_imports.py | 8 +-
src/lxml/tests/test_classlookup.py | 58 +
src/lxml/tests/test_elementtree.py | 48 +-
src/lxml/tests/test_etree.py | 86 +
src/lxml/tests/test_xslt.py | 62 +
src/lxml/xsltext.pxi | 41 +-
version.txt | 2 +-
424 files changed, 35555 insertions(+), 44210 deletions(-)
create mode 100644 doc/html/api/cssselect.parser.SelectorError-class.html
create mode 100644 doc/html/api/cssselect.parser.SelectorSyntaxError-class.html
create mode 100644 doc/html/api/cssselect.xpath.ExpressionError-class.html
create mode 100644 doc/html/api/cssselect.xpath.XPathExpr-class.html
rename doc/html/{changes-3.2.0.html => changes-3.2.1.html} (99%)
diff --git a/CHANGES.txt b/CHANGES.txt
index 555a75c8..2ede4991 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -2,6 +2,35 @@
lxml changelog
==============
+3.2.1 (2013-05-11)
+==================
+
+Features added
+--------------
+
+* The methods ``apply_templates()`` and ``process_children()`` of XSLT
+ extension elements have gained two new boolean options ``elements_only``
+ and ``remove_blank_text`` that discard either all strings or whitespace-only
+ strings from the result list.
+
+Bugs fixed
+----------
+
+* When moving Elements to another tree, the namespace cleanup mechanism
+ no longer drops namespace prefixes from attributes for which it finds
+ a default namespace declaration, to prevent them from appearing as
+ unnamespaced attributes after serialisation.
+
+* Returning non-type objects from a custom class lookup method could lead
+ to a crash.
+
+* Instantiating and using subtypes of Comments and ProcessingInstructions
+ crashed.
+
+Other changes
+-------------
+
+
3.2.0 (2013-04-28)
==================
diff --git a/PKG-INFO b/PKG-INFO
index 9e8852cb..a172627c 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,12 +1,12 @@
Metadata-Version: 1.1
Name: lxml
-Version: 3.2.0
+Version: 3.2.1
Summary: Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API.
Home-page: http://lxml.de/
Author: lxml dev team
Author-email: lxml-dev@lxml.de
License: UNKNOWN
-Download-URL: http://pypi.python.org/packages/source/l/lxml/lxml-3.2.0.tar.gz
+Download-URL: http://pypi.python.org/packages/source/l/lxml/lxml-3.2.1.tar.gz
Description: lxml is a Pythonic, mature binding for the libxml2 and libxslt libraries. It
provides safe and convenient access to these libraries using the ElementTree
API.
@@ -37,34 +37,30 @@ 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.2.0 (2013-04-28)
+ 3.2.1 (2013-05-11)
==================
Features added
--------------
+ * The methods ``apply_templates()`` and ``process_children()`` of XSLT
+ extension elements have gained two new boolean options ``elements_only``
+ and ``remove_blank_text`` that discard either all strings or whitespace-only
+ strings from the result list.
+
Bugs fixed
----------
- * LP#690319: Leading whitespace could change the behaviour of the string
- parsing functions in ``lxml.html``.
-
- * LP#599318: The string parsing functions in ``lxml.html`` are more robust
- in the face of uncommon HTML content like framesets or missing body tags.
- Patch by Stefan Seelmann.
-
- * LP#712941: I/O errors while trying to access files with paths that contain
- non-ASCII characters could raise ``UnicodeDecodeError`` instead of properly
- reporting the ``IOError``.
-
- * LP#673205: Parsing from in-memory strings disabled network access in the
- default parser and made subsequent attempts to parse from a URL fail.
+ * When moving Elements to another tree, the namespace cleanup mechanism
+ no longer drops namespace prefixes from attributes for which it finds
+ a default namespace declaration, to prevent them from appearing as
+ unnamespaced attributes after serialisation.
- * LP#971754: lxml.html.clean appends 'nofollow' to 'rel' attributes instead
- of overwriting the current value.
+ * Returning non-type objects from a custom class lookup method could lead
+ to a crash.
- * LP#715687: lxml.html.clean no longer discards scripts that are explicitly
- allowed by the user provided whitelist. Patch by Christine Koppelt.
+ * Instantiating and using subtypes of Comments and ProcessingInstructions
+ crashed.
Other changes
-------------
diff --git a/doc/extensions.txt b/doc/extensions.txt
index 95d65ba5..d379ae02 100644
--- a/doc/extensions.txt
+++ b/doc/extensions.txt
@@ -548,10 +548,33 @@ that passes an Element into the ``.apply_templates()`` method of the
>>> str(result)
'\n--xyz--\n'
-Note how we applied the templates to a child of the extension element
+Here, we applied the templates to a child of the extension element
itself, i.e. to an element inside the stylesheet instead of an element
of the input document.
+The return value of ``.apply_templates()`` is always a list. It may
+contain a mix of elements and strings, collected from the XSLT processing
+result. If you want to append these values to the output parent, be aware
+that you cannot use the ``.append()`` method to add strings. In many
+cases, you would only be interested in elements anyway, so you can discard
+strings (e.g. formatting whitespace) and append the rest.
+
+If you want to include string results in the output, you can either build
+an appropriate tree yourself and append that, or you can manually add the
+string values to the current output tree, e.g. by concatenating them with
+the ``.tail`` of the last element that was appended.
+
+Note that you can also let lxml build the result tree for you by passing
+the ``output_parent`` into the ``.apply_templates()`` method. In this
+case, the result will be None and all content found by applying templates
+will be appended to the output parent.
+
+If you do not care about string results at all, e.g. because you already
+know that they will only contain whitespace, you can pass the option
+``elements_only=True`` to the ``.apply_templates()`` method, or pass
+``remove_blank_text=True`` to remove only those strings that consist
+entirely of whitespace.
+
Working with read-only elements
-------------------------------
diff --git a/doc/html/FAQ.html b/doc/html/FAQ.html
index 48aca51c..d42c67fb 100644
--- a/doc/html/FAQ.html
+++ b/doc/html/FAQ.html
@@ -10,7 +10,7 @@
-
lxml FAQ - Frequently Asked Questions
+
lxml FAQ - Frequently Asked Questions
Frequently asked questions on lxml. See also the notes on compatibility to
ElementTree.
@@ -915,7 +915,7 @@ map it to your namespace. See also the question above.
diff --git a/doc/html/api.html b/doc/html/api.html
index b8cb0ae6..a28cf31d 100644
--- a/doc/html/api.html
+++ b/doc/html/api.html
@@ -8,7 +8,7 @@
-
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
@@ -450,7 +450,7 @@ example:
diff --git a/doc/html/api/abc.ABCMeta-class.html b/doc/html/api/abc.ABCMeta-class.html
index 28e93d7a..00c16de3 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 = 18
+ _abc_invalidation_counter = 22
|
@@ -426,7 +426,7 @@ even via super()).