summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove support for CPython 3.4.Stefan Behnel2019-04-211-2/+2
|
* Fix a test that was assigning an incorrectly sized slice.Stefan Behnel2019-04-211-3/+7
|
* Fix some misbehaviour in slice selection and deletion: Large step sizes ↵Stefan Behnel2019-04-212-0/+4
| | | | could lead to long running stupid loops.
* Fix some misbehaviour in slice assignments:Stefan Behnel2019-04-212-41/+35
| | | | | | - Large step sizes could lead to long running stupid loops. - ValueError was not raised when assigning extended slices of the wrong size. - Slices with negative step size could be inserted in the wrong place, too far on the left.
* Enable namespace prefix callbacks (start_ns/end_ns) for parser targets and ↵Stefan Behnel2019-04-213-72/+534
| | | | | | make comment/pi creation optional and configurable in TreeBuilder. Also update some compatibility tests from ElementTree in Py3.8.
* Disable cET comparison tests in Py3 where it's just an alias for ET.Stefan Behnel2019-04-211-4/+9
|
* Make failures to write an XSLT output file raise an IOError, instead of ↵Stefan Behnel2019-04-192-2/+14
| | | | incorrectly trying (and failing) to instantiate an XSLTSaveError and raising an AttributeError instead.
* Fix a test after allowing '' as a namespace prefix in ElementPath.Stefan Behnel2019-04-171-1/+1
|
* Allow '' instead of None as prefix to provide a default namespace mapping in ↵Stefan Behnel2019-04-161-3/+8
| | | | | | .find*() patterns. See http://bugs.python.org/issue30485
* Add a `max_depth` argument to ElementInclude to prevent content explosion. ↵Stefan Behnel2019-04-142-6/+107
| | | | Limit it to 6 by default.
* Fix test in Py3.Stefan Behnel2019-04-051-3/+3
|
* Refactor duplicate code.Stefan Behnel2019-04-053-31/+28
|
* Merge branch 'extension-nsmap' of https://github.com/adelton/lxml into ↵Stefan Behnel2019-04-052-0/+56
|\ | | | | | | adelton-extension-nsmap
| * Make .nsmap available in XSLT extensions.Jan Pazdziora2018-08-092-0/+56
| |
* | Fix test in Windows.Stefan Behnel2019-03-271-1/+3
| |
* | Fix test in Windows.Stefan Behnel2019-03-271-1/+1
| |
* | Exclude absolute Windows (C:\...) file paths from URL escaping since libxml2 ↵Stefan Behnel2019-03-272-6/+15
| | | | | | | | does not recognise them as file paths and thus does not unescape them.
* | Provide more debug output from a failing test.Stefan Behnel2019-03-271-4/+13
| |
* | Provide more debug output from a failing test.Stefan Behnel2019-03-271-4/+11
| |
* | Avoid an obviously invalid Windows file name in tests.Stefan Behnel2019-03-271-2/+2
| |
* | Minor test cleanup.Stefan Behnel2019-03-271-3/+3
| |
* | Clean up special filename tests and keep only the relevant ones.Stefan Behnel2019-03-271-17/+6
| |
* | Add more system debug output to test runs.Stefan Behnel2019-03-271-9/+12
| |
* | Add tests to investigate why the test runs fail on windows.Stefan Behnel2019-03-271-0/+18
| |
* | Reduce redundant temp file handling in test code.Stefan Behnel2019-03-274-62/+32
| |
* | Minor code cleanups and simplifications.Stefan Behnel2019-03-271-20/+6
| |
* | Fix C compiler warning about comparing signed to unsigned integers.Stefan Behnel2019-03-271-1/+1
| |
* | Remove some Python anachronisms by using the with statement for file ↵Stefan Behnel2019-03-274-64/+44
| | | | | | | | resource management.
* | Work around libxml2's URL-unescaping in xmlOutputBufferCreateFilename() by ↵Stefan Behnel2019-03-264-2/+56
| | | | | | | | escaping '%' characters in file paths before passing them down.
* | Clean up stray whitespace in test file.Stefan Behnel2019-03-261-104/+104
| |
* | Merge lxml-4.3 branch into master.Stefan Behnel2019-03-261-14/+9
|\ \
| * | Fix leak of output buffer in _XSLTResultTree.write_output().Stefan Behnel2019-03-261-14/+9
| | |
* | | Remove unused variable.Stefan Behnel2019-03-261-1/+1
| | |
* | | Clean up test file.Stefan Behnel2019-03-261-17/+15
| | |
* | | Add a couple of API type annotations.Stefan Behnel2019-03-261-4/+4
| | |
* | | Avoid some unnecessary unicode conversions on comparisons in Py2.Stefan Behnel2019-03-261-5/+5
| | |
* | | Always reset the ElementTree._doc reference when parsing a new document with ↵Stefan Behnel2019-03-261-4/+4
| | | | | | | | | | | | ElementTree.parse() to prevent keeping old documents around.
* | | Add a couple of API type annotations.Stefan Behnel2019-03-261-2/+2
| | |
* | | Simplify _Attrib.clear() and reduce its overhead.Stefan Behnel2019-03-241-3/+4
| | |
* | | Deprecate ElementTree.write_c14n() method in favour of ElementTree.write(f, ↵Stefan Behnel2019-03-241-0/+3
| | | | | | | | | | | | method="c14n").
* | | Tighten an assertion (string length must never be < 0).Stefan Behnel2019-03-151-1/+1
| | |
* | | Minor code cleanup.Stefan Behnel2019-03-151-2/+1
| | |
* | | Prevent registering a different prefix than "xml" for the XML namespace.Stefan Behnel2019-03-152-0/+10
| | |
* | | Remove redundant string prefixes from C-ish code.Stefan Behnel2019-03-151-8/+8
| | |
* | | Implement "__index__()" special method for integer elements in lxml.objectify.Stefan Behnel2019-03-082-1/+7
| | |
* | | Add some tests that were found missing by coverage analysis.Stefan Behnel2019-03-081-0/+56
| | |
* | | Allow "element[-1]" for disconnected elements in objectify, returning the ↵Stefan Behnel2019-03-081-3/+2
| | | | | | | | | | | | element itself (as for index 0).
* | | LP#1758553: add "source" and "track" to list of empty HTML tags.Stefan Behnel2019-03-081-1/+1
| | |
* | | Minor code cleanup.Stefan Behnel2019-03-021-8/+4
| | |
* | | Change test to reflect the attribute creation order change in Py3.6+.Stefan Behnel2019-03-011-4/+11
| | |