Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | | | Revert "Replace mutable default argument" | Hugo | 2018-08-26 | 2 | -25/+7 | |
| | | | | | | | | | | | | | | | | | | | | This reverts commit 92faebc0efa332c39a94d90d4ab7eb1a82233c4b. | |||||
| | * | | | Remove redundant '= None' | Hugo | 2018-08-26 | 1 | -1/+1 | |
| | | | | | ||||||
| | * | | | Split lines for clarity | Hugo | 2018-08-26 | 1 | -3/+6 | |
| | | | | | ||||||
| | * | | | Simplify isinstance | Hugo | 2018-08-26 | 1 | -1/+1 | |
| | | | | | ||||||
| | * | | | Remove unnecessary backslash | Hugo | 2018-08-25 | 1 | -2/+2 | |
| | | | | | ||||||
| | * | | | Remove redundant parentheses | Hugo | 2018-08-25 | 11 | -46/+46 | |
| | | | | | ||||||
| | * | | | Replace list creation with list literal | Hugo | 2018-08-25 | 1 | -7/+3 | |
| | | | | | ||||||
| | * | | | Replace function call with set literal | Hugo | 2018-08-25 | 4 | -9/+7 | |
| | | | | | ||||||
| | * | | | Replace dictionary creation with dictionary literal | Hugo | 2018-08-25 | 1 | -24/+9 | |
| | | | | | ||||||
| | * | | | Replace mutable default argument | Hugo | 2018-08-25 | 2 | -7/+25 | |
| | | | | | ||||||
| | * | | | Compare None using 'is'/'is not' instead of equality operators | Hugo | 2018-08-25 | 2 | -4/+4 | |
| | | | | | ||||||
| | * | | | Remove redundant code for Python <= 2.6 | Hugo | 2018-08-25 | 21 | -96/+39 | |
| | | |/ | | |/| | ||||||
| * | | | Fix typo in test file. | Stefan Behnel | 2018-08-26 | 1 | -1/+1 | |
| |/ / | ||||||
| * | | Make test more resilient against changes in latest libxslt releases. | Stefan Behnel | 2018-08-04 | 1 | -3/+4 | |
| | | | ||||||
| * | | Add a test for the fix in github ticket #268. | Stefan Behnel | 2018-08-03 | 1 | -0/+32 | |
| | | | ||||||
| * | | Fixing possible memory corruption if node is moved between docs | Alexander Weggerle | 2018-07-30 | 1 | -1/+1 | |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | etree.insert function tries to handle the case when a node is moved between documents with the function moveNodeToDocument. So far the source_doc is taken from the destination node which is wrong. The moveNodeToDocument function will not fix the names in the document dictionaries because source and target doc are the same. The fix takes now the source_doc from the node element which should be inserted. This fixes issue https://bugs.launchpad.net/lxml/+bug/1773749 | |||||
* | | Let ElementTreeProducer use the available namespaces | Lennart Regebro | 2018-10-17 | 2 | -8/+81 | |
|/ | | | | ElementTreeProducer would ignore the namespace prefixes that were available in the element tree, and always generate new prefixes like ns00, ns01 etc. | |||||
* | Work around Cython bug that calls the parent class tp_clear() function even ↵ | Stefan Behnel | 2018-06-03 | 2 | -0/+2 | |
| | | | | | | if the parent is declared as @no_gc_clear. See #266. | |||||
* | Fix crash during GC when _ParserContext and _ParserSchemaValidationContext ↵ | Stefan Behnel | 2018-06-03 | 1 | -1/+2 | |
| | | | | | | instances participate in a reference cycle and the _ParserContext gets cleared by the GC before it can disconnect the _ParserSchemaValidationContext. Closes #266. | |||||
* | Add missing huge_tree parameter to XMLParser | johnthagen | 2018-04-13 | 1 | -1/+1 | |
| | | | | | The `huge_tree` parameter is missing from the docstring definition of the `XMLParser` class. This causes PyCharm to report a false positive when this parameter is used: https://youtrack.jetbrains.com/issue/PY-21959 This PR adds the parameter to the docstring. | |||||
* | LP#1755825: iterparse() failed to include the initial start event if the ↵ | Stefan Behnel | 2018-03-16 | 2 | -0/+36 | |
| | | | | start element matched a tag selector. | |||||
* | Improve documentation of the "tag" argument to the iter*() methods. | Stefan Behnel | 2018-03-16 | 1 | -11/+12 | |
| | ||||||
* | Clean up some exception handling code to fix Cython warnings. | Stefan Behnel | 2018-03-10 | 4 | -6/+21 | |
| | ||||||
* | LP#1551797: Make sure we really capture all XSLT error messages, not only ↵ | Stefan Behnel | 2018-03-10 | 1 | -1/+2 | |
| | | | | those that libxslt sends through the transform context. | |||||
* | LP#1551797: Send XSLT errors to a thread-local stack of error logs and ↵ | Stefan Behnel | 2018-03-10 | 3 | -29/+166 | |
| | | | | | | push/pop the transform's log on it around XSLT operations. This should solve the problem of XSLT error messages getting lost and also work around the fact that the XSLT error function in libxslt is a global variable that is not thread-specfic. | |||||
* | Fix HTMLParser docstring. | stranac | 2018-03-08 | 1 | -1/+1 | |
| | ||||||
* | Add huge_tree support to HTMLParser. | stranac | 2018-03-08 | 1 | -1/+5 | |
| | ||||||
* | Add comment. | Stefan Behnel | 2018-02-17 | 1 | -0/+2 | |
| | ||||||
* | Avoid dependency on char signedness in C comparison. | Stefan Behnel | 2018-02-16 | 1 | -1/+2 | |
| | ||||||
* | Speed up the creation of _MultiTagMatcher instances a little by directly ↵ | Stefan Behnel | 2018-02-09 | 4 | -11/+7 | |
| | | | | calling __new__() instead of the class. | |||||
* | Convert another string formatting operation to an f-string. | Stefan Behnel | 2018-01-25 | 1 | -2/+2 | |
| | ||||||
* | Use f-strings for all string formatting for which it makes sense (i.e. does ↵ | Stefan Behnel | 2018-01-25 | 15 | -130/+104 | |
| | | | | not look unreadable). | |||||
* | LP#1743655: Fix up behaviour when None is passed into QName(): reject (None, ↵ | Stefan Behnel | 2018-01-20 | 2 | -13/+27 | |
| | | | | None), ignore None as namespace. | |||||
* | Add a test case for LP#1737825. | Stefan Behnel | 2018-01-06 | 1 | -0/+17 | |
| | ||||||
* | LP#1737825: Fix a crash during garbage collection when an iterparse run with ↵ | Stefan Behnel | 2018-01-06 | 2 | -0/+19 | |
| | | | | XMLSchema validation gets interrupted and not finished. | |||||
* | Use xmlMalloc() instead of plain malloc() for allocating an xmlSAXHandler to ↵ | Stefan Behnel | 2018-01-06 | 1 | -1/+1 | |
| | | | | match the corresponding xmlFree() call in libxml2. | |||||
* | Clean up except syntax usage. | Stefan Behnel | 2018-01-06 | 1 | -1/+1 | |
| | ||||||
* | Remove unnecessary pre-declarations. | Stefan Behnel | 2018-01-06 | 1 | -7/+0 | |
| | ||||||
* | Suppress C compiler warning in Py2.6. | Stefan Behnel | 2017-11-27 | 1 | -1/+1 | |
| | ||||||
* | Document that the tag argument can be a sequence of tags. | Chris Jerdonek | 2017-11-26 | 1 | -3/+7 | |
| | ||||||
* | Clean up test code for better readability. | Stefan Behnel | 2017-11-12 | 1 | -6/+16 | |
| | ||||||
* | Clean up useless import fallback. | Stefan Behnel | 2017-11-05 | 1 | -4/+1 | |
| | ||||||
* | Remove useless Py3 adaptation that Cython can handle internally. | Stefan Behnel | 2017-11-05 | 2 | -23/+8 | |
| | ||||||
* | Simplify error constant setup. The MSVC work-around of splitting the strings ↵ | Stefan Behnel | 2017-11-04 | 1 | -43/+18 | |
| | | | | into shorter substrings is no longer needed since Cython handles it internally. | |||||
* | Merge branch 'master' into select-fallback | scoder | 2017-11-12 | 5 | -4/+63 | |
|\ | ||||||
| * | Fix getargspec DeprecationWarning | Richard Owen | 2017-11-10 | 1 | -2/+2 | |
| | | | | | | Try to import the newer method (getfullargspec) and only fall back to getargspec if it can't be imported. This should resolve the DeprecationWarning from getargspec being imported. | |||||
| * | Merge pull request #254 from scoder/nsdeco | scoder | 2017-10-13 | 2 | -1/+51 | |
| |\ | | | | | | | Support using the FunctionNamespace and ElementNamespaceClassLookup registries as decorators | |||||
| | * | Merge branch 'master' into nsdeco | scoder | 2017-10-13 | 2 | -13/+191 | |
| | |\ | ||||||
| | * | | Support using the FunctionNamespace and ElementNamespaceClassLookup ↵ | Stefan Behnel | 2017-09-17 | 2 | -1/+51 | |
| | | | | | | | | | | | | | | | | registries as decorators. | |||||
| * | | | LP#1722776: Fix fallback of PythonElementClassLookup for comments etc. | Stefan Behnel | 2017-10-13 | 2 | -1/+10 | |
| | |/ | |/| |