c15b50f02a
- Version update to 4.2.0: * GH#255: `SelectElement.value returns more standard-compliant and browser-like defaults for non-multi-selects. If no option is selected, the value of the first option is returned (instead of None). If multiple options are selected, the value of the last one is returned (instead of that of the first one). If no options are present (not standard-compliant) SelectElement.value still returns None. * GH#261: The HTMLParser() now supports the huge_tree` option. Patch by stranac. * LP#1551797: Some XSLT messages were not captured by the transform error log. * LP#1737825: Crash at shutdown after an interrupted iterparse run with XMLSchema validation. - Add patch python-lxml-assert.patch to pass test fail on threading
Tomáš Chvátal
2018-03-19 14:13:54 +00:00
acdc192149
- The doc sub-package is noarch
Sascha Peilicke
2012-12-19 15:46:10 +00:00
1bbc72125b
Accepting request 142614 from devel:languages:python
Stephan Kulow
2012-11-26 18:53:10 +00:00
22757510ab
- BuildRequire libxml2-devel instead of pkconfi() to allow building on SLE_11_SP2
Sascha Peilicke
2012-11-23 16:24:32 +00:00
4f6c287b03
Accepting request 142447 from devel:languages:python3
Todd R
2012-11-22 14:36:58 +00:00
92ae2148f6
Accepting request 123601 from devel:languages:python
Stephan Kulow
2012-06-06 14:09:31 +00:00
bc3382c174
Accepting request 123577 from home:poorboywilly:branches:devel:languages:python
Todd R
2012-06-05 06:41:58 +00:00
047eeae818
Accepting request 122242 from devel:languages:python
Stephan Kulow
2012-05-29 09:44:28 +00:00
cda848c210
Accepting request 122105 from home:HighwayStar:branches:devel:languages:python
Todd R
2012-05-25 07:07:29 +00:00
ab81023508
Accepting request 108688 from devel:languages:python
Stephan Kulow
2012-03-12 07:54:13 +00:00
0bae3403d1
- Update to version 2.3.3: * lxml.html.tostring() gained new serialisation options with_tail and doctype. * Fixed a crash when using iterparse() for HTML parsing and requesting start events. * Fixed parsing of more selectors in cssselect. Whitespace before pseudo-elements and pseudo-classes is significant as it is a descendant combinator. "E :pseudo" should parse the same as "E *:pseudo", not "E:pseudo". * lxml.html.diff no longer raises an exception when hitting 'img' tags without 'src' attribute. - Changes from version 2.3.2: * lxml.objectify.deannotate() has a new boolean option cleanup_namespaces to remove the objectify namespace declarations (and generally clean up the namespace declarations) after removing the type annotations. * lxml.objectify gained its own SubElement() function as a copy of etree.SubElement to avoid an otherwise redundant import of lxml.etree on the user side. * Fixed the "descendant" bug in cssselect a second time * Fixed parsing of some selectors in cssselect. - Changes from version 2.3.1: * New option kill_tags in lxml.html.clean to remove specific tags and their content (i.e. their whole subtree). * pi.get() and pi.attrib on processing instructions to parse pseudo-attributes from the text content of processing instructions. * lxml.get_include() returns a list of include paths that can be used to compile external C code against lxml.etree. * Resolver.resolve_file() takes an additional option close_file that configures if the file(-like) object will be closed after reading or not. * HTML cleaning didn't remove 'data:' links. * The html5lib parser integration now uses the 'official' implementation in html5lib itself, which makes it work with newer releases of the library. * In lxml.sax, endElementNS() could incorrectly reject a plain tag name when the corresponding start event inferred the same plain tag name to be in the default namespace. * When an open file-like object is passed into parse() or iterparse(), the
Sascha Peilicke
2012-03-09 21:29:46 +00:00
10a2c26ba2
- Update to 2.3 (2011-03-03): Features added * When looking for children, lxml.objectify takes '{}tag' as meaning an empty namespace, as opposed to the parent namespace. Bugs fixed * When finished reading from a file-like object, the parser immediately calls its close() method. * When finished parsing, iterparse() immediately closes the input file. * Work-around for libxml2 bug that can leave the HTML parser in a non-functional state after parsing a severly broken document (fixed in libxml2 2.7.8). * marque tag in HTML cleanup code is correctly named marquee.
Sascha Peilicke
2011-03-03 08:46:41 +00:00
5185184e55
Autobuild autoformatter for 57862
Berthold Gunreben
2011-01-12 08:40:28 +00:00