Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove support for CPython 3.4. | Stefan Behnel | 2019-04-21 | 1 | -2/+2 | |
| | ||||||
* | Fix a test that was assigning an incorrectly sized slice. | Stefan Behnel | 2019-04-21 | 1 | -3/+7 | |
| | ||||||
* | Fix some misbehaviour in slice selection and deletion: Large step sizes ↵ | Stefan Behnel | 2019-04-21 | 2 | -0/+4 | |
| | | | | could lead to long running stupid loops. | |||||
* | Fix some misbehaviour in slice assignments: | Stefan Behnel | 2019-04-21 | 2 | -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 Behnel | 2019-04-21 | 3 | -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 Behnel | 2019-04-21 | 1 | -4/+9 | |
| | ||||||
* | Make failures to write an XSLT output file raise an IOError, instead of ↵ | Stefan Behnel | 2019-04-19 | 2 | -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 Behnel | 2019-04-17 | 1 | -1/+1 | |
| | ||||||
* | Allow '' instead of None as prefix to provide a default namespace mapping in ↵ | Stefan Behnel | 2019-04-16 | 1 | -3/+8 | |
| | | | | | | .find*() patterns. See http://bugs.python.org/issue30485 | |||||
* | Add a `max_depth` argument to ElementInclude to prevent content explosion. ↵ | Stefan Behnel | 2019-04-14 | 2 | -6/+107 | |
| | | | | Limit it to 6 by default. | |||||
* | Fix test in Py3. | Stefan Behnel | 2019-04-05 | 1 | -3/+3 | |
| | ||||||
* | Refactor duplicate code. | Stefan Behnel | 2019-04-05 | 3 | -31/+28 | |
| | ||||||
* | Merge branch 'extension-nsmap' of https://github.com/adelton/lxml into ↵ | Stefan Behnel | 2019-04-05 | 2 | -0/+56 | |
|\ | | | | | | | adelton-extension-nsmap | |||||
| * | Make .nsmap available in XSLT extensions. | Jan Pazdziora | 2018-08-09 | 2 | -0/+56 | |
| | | ||||||
* | | Fix test in Windows. | Stefan Behnel | 2019-03-27 | 1 | -1/+3 | |
| | | ||||||
* | | Fix test in Windows. | Stefan Behnel | 2019-03-27 | 1 | -1/+1 | |
| | | ||||||
* | | Exclude absolute Windows (C:\...) file paths from URL escaping since libxml2 ↵ | Stefan Behnel | 2019-03-27 | 2 | -6/+15 | |
| | | | | | | | | does not recognise them as file paths and thus does not unescape them. | |||||
* | | Provide more debug output from a failing test. | Stefan Behnel | 2019-03-27 | 1 | -4/+13 | |
| | | ||||||
* | | Provide more debug output from a failing test. | Stefan Behnel | 2019-03-27 | 1 | -4/+11 | |
| | | ||||||
* | | Avoid an obviously invalid Windows file name in tests. | Stefan Behnel | 2019-03-27 | 1 | -2/+2 | |
| | | ||||||
* | | Minor test cleanup. | Stefan Behnel | 2019-03-27 | 1 | -3/+3 | |
| | | ||||||
* | | Clean up special filename tests and keep only the relevant ones. | Stefan Behnel | 2019-03-27 | 1 | -17/+6 | |
| | | ||||||
* | | Add more system debug output to test runs. | Stefan Behnel | 2019-03-27 | 1 | -9/+12 | |
| | | ||||||
* | | Add tests to investigate why the test runs fail on windows. | Stefan Behnel | 2019-03-27 | 1 | -0/+18 | |
| | | ||||||
* | | Reduce redundant temp file handling in test code. | Stefan Behnel | 2019-03-27 | 4 | -62/+32 | |
| | | ||||||
* | | Minor code cleanups and simplifications. | Stefan Behnel | 2019-03-27 | 1 | -20/+6 | |
| | | ||||||
* | | Fix C compiler warning about comparing signed to unsigned integers. | Stefan Behnel | 2019-03-27 | 1 | -1/+1 | |
| | | ||||||
* | | Remove some Python anachronisms by using the with statement for file ↵ | Stefan Behnel | 2019-03-27 | 4 | -64/+44 | |
| | | | | | | | | resource management. | |||||
* | | Work around libxml2's URL-unescaping in xmlOutputBufferCreateFilename() by ↵ | Stefan Behnel | 2019-03-26 | 4 | -2/+56 | |
| | | | | | | | | escaping '%' characters in file paths before passing them down. | |||||
* | | Clean up stray whitespace in test file. | Stefan Behnel | 2019-03-26 | 1 | -104/+104 | |
| | | ||||||
* | | Merge lxml-4.3 branch into master. | Stefan Behnel | 2019-03-26 | 1 | -14/+9 | |
|\ \ | ||||||
| * | | Fix leak of output buffer in _XSLTResultTree.write_output(). | Stefan Behnel | 2019-03-26 | 1 | -14/+9 | |
| | | | ||||||
* | | | Remove unused variable. | Stefan Behnel | 2019-03-26 | 1 | -1/+1 | |
| | | | ||||||
* | | | Clean up test file. | Stefan Behnel | 2019-03-26 | 1 | -17/+15 | |
| | | | ||||||
* | | | Add a couple of API type annotations. | Stefan Behnel | 2019-03-26 | 1 | -4/+4 | |
| | | | ||||||
* | | | Avoid some unnecessary unicode conversions on comparisons in Py2. | Stefan Behnel | 2019-03-26 | 1 | -5/+5 | |
| | | | ||||||
* | | | Always reset the ElementTree._doc reference when parsing a new document with ↵ | Stefan Behnel | 2019-03-26 | 1 | -4/+4 | |
| | | | | | | | | | | | | ElementTree.parse() to prevent keeping old documents around. | |||||
* | | | Add a couple of API type annotations. | Stefan Behnel | 2019-03-26 | 1 | -2/+2 | |
| | | | ||||||
* | | | Simplify _Attrib.clear() and reduce its overhead. | Stefan Behnel | 2019-03-24 | 1 | -3/+4 | |
| | | | ||||||
* | | | Deprecate ElementTree.write_c14n() method in favour of ElementTree.write(f, ↵ | Stefan Behnel | 2019-03-24 | 1 | -0/+3 | |
| | | | | | | | | | | | | method="c14n"). | |||||
* | | | Tighten an assertion (string length must never be < 0). | Stefan Behnel | 2019-03-15 | 1 | -1/+1 | |
| | | | ||||||
* | | | Minor code cleanup. | Stefan Behnel | 2019-03-15 | 1 | -2/+1 | |
| | | | ||||||
* | | | Prevent registering a different prefix than "xml" for the XML namespace. | Stefan Behnel | 2019-03-15 | 2 | -0/+10 | |
| | | | ||||||
* | | | Remove redundant string prefixes from C-ish code. | Stefan Behnel | 2019-03-15 | 1 | -8/+8 | |
| | | | ||||||
* | | | Implement "__index__()" special method for integer elements in lxml.objectify. | Stefan Behnel | 2019-03-08 | 2 | -1/+7 | |
| | | | ||||||
* | | | Add some tests that were found missing by coverage analysis. | Stefan Behnel | 2019-03-08 | 1 | -0/+56 | |
| | | | ||||||
* | | | Allow "element[-1]" for disconnected elements in objectify, returning the ↵ | Stefan Behnel | 2019-03-08 | 1 | -3/+2 | |
| | | | | | | | | | | | | element itself (as for index 0). | |||||
* | | | LP#1758553: add "source" and "track" to list of empty HTML tags. | Stefan Behnel | 2019-03-08 | 1 | -1/+1 | |
| | | | ||||||
* | | | Minor code cleanup. | Stefan Behnel | 2019-03-02 | 1 | -8/+4 | |
| | | | ||||||
* | | | Change test to reflect the attribute creation order change in Py3.6+. | Stefan Behnel | 2019-03-01 | 1 | -4/+11 | |
| | | |