[issue17582] xml.etree.ElementTree does not preserve whitespaces in attributes

Duane Griffin report at bugs.python.org
Fri Sep 4 05:34:55 CEST 2015


Duane Griffin added the comment:

Here is a patch with a unit test for the new escaping functionality. I believe it covers all the new cases. Additional code is not required for cElementTree as the serialisation code is all Python.

----------
nosy: +duaneg
Added file: http://bugs.python.org/file40346/17582-etree-whitespace-test.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17582>
_______________________________________


More information about the Python-bugs-list mailing list