summaryrefslogtreecommitdiff
path: root/defusedxml/common.py
Commit message (Collapse)AuthorAgeFilesLines
* Simplify code, remove _generate_etree_functionsChristian Heimes2021-03-041-44/+0
| | | | | | | cElementTree is now a simple alias of ElementTree. The generate function is no longer needed. Signed-off-by: Christian Heimes <christian@python.org>
* Drop Python 2 supportChristian Heimes2021-03-041-5/+5
|
* Re-add cElementTree module and deprecate itChristian Heimes2021-01-121-2/+0
| | | | | | | ``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-121-10/+5
| | | | Signed-off-by: Christian Heimes <christian@python.org>
* Python 3.9 compatibilityChristian Heimes2020-04-151-0/+2
| | | | | | | | | | | 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>
* Mark some lines as non-reachableChristian Heimes2019-04-151-1/+1
|
* Reformat all code with black 18.9b0Christian Heimes2019-04-141-21/+30
| | | | Signed-off-by: Christian Heimes <christian@python.org>
* Fail early when pyexpat is missingChristian Heimes2019-04-141-0/+5
| | | | | Fixes: https://github.com/tiran/defusedxml/issues/10 Signed-off-by: Christian Heimes <christian@python.org>
* Use https:// URLs where availableJon Dufresne2019-04-141-1/+1
|
* Fix flake8 violationsChristian Heimes2017-01-281-3/+5
|
* Drop Python 2.6, 3.1 to 3.3 supportChristian Heimes2017-01-281-54/+9
|
* Add missing parser_list argument to sax.make_parser()Christian Heimes2013-02-201-0/+163
The argument is ignored, though. (thanks to Florian Apolloner)