summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Prepare release 0.7.1v0.7.1v0.7.xChristian Heimes2021-03-082-2/+2
| | | | Signed-off-by: Christian Heimes <christian@python.org>
* Run GHA in bug fix branchesChristian Heimes2021-03-081-3/+9
| | | | Signed-off-by: Christian Heimes <christian@python.org>
* Fix regression defusedxml.ElementTree.ParseErrorChristian Heimes2021-03-086-6/+48
| | | | | | | | | | The ``defusedxml.ElementTree.ParseError`` exception is now the same class object as ``xml.etree.ElementTree.ParseError`` again. The regression was introduced by new patching code as part of PR #60. See: https://github.com/tiran/defusedxml/pull/60 Fixes: https://github.com/tiran/defusedxml/issues/63 Signed-off-by: Christian Heimes <christian@python.org>
* Prepare release 0.7.0v0.7.0Christian Heimes2021-03-043-1/+15
| | | | Signed-off-by: Christian Heimes <christian@python.org>
* Become 0.7.0rc2v0.7.0rc2Christian Heimes2021-01-123-9/+9
| | | | Signed-off-by: Christian Heimes <christian@python.org>
* Update URL: ambv/black → psf/blackJon Dufresne2021-01-122-2/+2
|
* Restore xml.etree.ElementTree after patchChristian Heimes2021-01-124-6/+23
| | | | | | | | Restore ``ElementTree`` attribute of ``xml.etree`` module after patching Closes: https://github.com/tiran/defusedxml/issues/54 Co-authored-by: Marien Zwart <marienz@google.com> Signed-off-by: Christian Heimes <christian@python.org>
* Prepare 0.7.0.rc2Christian Heimes2021-01-123-1/+16
|
* Re-add cElementTree module and deprecate itChristian Heimes2021-01-127-23/+28
| | | | | | | ``xml.etree.ElementTree`` was re-added before Python 3.9.0 release. The alias will be removed in a future release. Signed-off-by: Christian Heimes <christian@python.org>
* Reformat doc strings with latest blackChristian Heimes2021-01-122-14/+7
| | | | Signed-off-by: Christian Heimes <christian@python.org>
* Add github actionsChristian Heimes2021-01-125-43/+44
| | | | | | Replace Travis CI with GitHub Actions Signed-off-by: Christian Heimes <christian@python.org>
* Become 0.7.0.rc1v0.7.0.rc1Christian Heimes2020-05-043-6/+6
| | | | Signed-off-by: Christian Heimes <christian@python.org>
* Python 3.9 compatibilityChristian Heimes2020-04-1512-23/+72
| | | | | | | | | | | Python 3.9 no longer ships the xml.etree.cElementTree module. defusedxml no longer provides the a fixed module with 3.9 as well. defusedxml.cElementTree is still available with 3.8. See: https://bugs.python.org/issue36543 See: https://github.com/python/cpython/pull/19108 Fixes: https://github.com/tiran/defusedxml/issues/50 Signed-off-by: Christian Heimes <christian@python.org>
* Create SECURITY.mdChristian Heimes2019-09-091-0/+12
|
* Prepare release 0.6.0v0.6.0Christian Heimes2019-04-173-2/+18
| | | | Signed-off-by: Christian Heimes <christian@python.org>
* Mark some lines as non-reachableChristian Heimes2019-04-155-9/+9
|
* Test more minidomChristian Heimes2019-04-151-1/+17
|
* Add codecov and badgesChristian Heimes2019-04-156-23/+58
| | | | Signed-off-by: Christian Heimes <christian@python.org>
* Prepare release 0.6.0.rc1v0.6.0.rc10.6.0rc1Christian Heimes2019-04-143-6/+6
| | | | Signed-off-by: Christian Heimes <christian@python.org>
* Reformat all code with black 18.9b0Christian Heimes2019-04-1416-233/+294
| | | | Signed-off-by: Christian Heimes <christian@python.org>
* Add black formatter support and checksChristian Heimes2019-04-144-3/+18
| | | | Signed-off-by: Christian Heimes <christian@python.org>
* Use Github style markdown for README.mdChristian Heimes2019-04-142-237/+234
| | | | Signed-off-by: Christian Heimes <christian@python.org>
* deprecate defusedxml.lxmlChristian Heimes2019-04-144-3/+24
| | | | Signed-off-by: Christian Heimes <christian@python.org>
* Deprecate lxmlChristian Heimes2019-04-141-0/+9
| | | | Signed-off-by: Christian Heimes <christian@python.org>
* Fix XMLParse typoChristian Heimes2019-04-144-6/+17
| | | | | | | | The defusedxml.ElementTree and defusedxml.cElementTree modules had a typo and used XMLParse instead of XMLParser as an alias for DefusedXMLParser. Both the old and fixed name are now available. Signed-off-by: Christian Heimes <christian@python.org>
* Fix typosJakub Wilk2019-04-143-10/+10
|
* TravisCI needs dist Xenial to test 3.7 and 3.8Christian Heimes2019-04-141-0/+2
| | | | Signed-off-by: Christian Heimes <christian@python.org>
* Add ParseError to __all__Christian Heimes2019-04-142-2/+5
| | | | | Fixes: https://github.com/tiran/defusedxml/issues/16 Signed-off-by: Christian Heimes <christian@python.org>
* Fail early when pyexpat is missingChristian Heimes2019-04-142-0/+7
| | | | | Fixes: https://github.com/tiran/defusedxml/issues/10 Signed-off-by: Christian Heimes <christian@python.org>
* Deprecate html argument from ParsersChristian Heimes2019-04-143-4/+36
| | | | | | | | | | | | The defused XMLParse subclass no longer passes the html argument down to the XMLParse class. The argument has been deprecated and ignored for a long time. The DefusedXMLParser still takes a html argument. A deprecation warning is issued when the argument is False and a TypeError when it's True. Fixes: https://github.com/tiran/defusedxml/issues/34 Co-authored-by: Erik Cederstrand <erik@cederstrand.dk> Signed-off-by: Christian Heimes <christian@python.org>
* Drop support for Python 3.4Christian Heimes2019-04-144-4/+3
| | | | Signed-off-by: Christian Heimes <christian@python.org>
* Test on Python 3.7 stable and 3.8-devChristian Heimes2019-04-144-7/+15
| | | | Signed-off-by: Christian Heimes <christian@python.org>
* Prepare 0.6.0.dev1Christian Heimes2019-04-142-1/+9
| | | | Signed-off-by: Christian Heimes <christian@python.org>
* Update bitbucket.org links to github.comJon Dufresne2019-04-142-7/+6
| | | | | Looks like the project has moved. Update the documentation to reflect this.
* Use https:// URLs where availableJon Dufresne2019-04-1413-33/+33
|
* Fix README: it's sax.make_parser()Christian Heimes2017-02-102-2/+9
| | | | | Closes: #7 Signed-off-by: Christian Heimes <christian@python.org>
* Prepare 0.5.0v0.5.0Christian Heimes2017-02-092-1/+8
|
* Prepare release 0.5.0.rc1v0.5.0.rc1Christian Heimes2017-01-283-7/+7
|
* Update links and package building to release 0.5.0.dev1Christian Heimes2017-01-283-4/+4
|
* Add markdown copy of README and CHANGEs for github usersChristian Heimes2017-01-284-5/+789
|
* Run flake8 and doc checks in TravisChristian Heimes2017-01-281-0/+6
|
* check flake8 and docsChristian Heimes2017-01-281-1/+32
|
* Fix flake8 violationsChristian Heimes2017-01-2811-40/+79
|
* Remove Python 2.6 and 3.3 from Travis CIChristian Heimes2017-01-281-4/+0
|
* Update changelogChristian Heimes2017-01-281-0/+10
|
* Test under Python 3.6Christian Heimes2017-01-281-2/+3
|
* Drop Python 2.6, 3.1 to 3.3 supportChristian Heimes2017-01-286-153/+48
|
* Test on Python 3.6 and devChristian Heimes2017-01-281-1/+5
|
* Python 3.6 no _IterParseIterator classChristian Heimes2016-08-242-1/+3
|
* use setuptoolsChristian Heimes2016-08-233-1/+10
|