Colton Leekley-Winslow added the comment: Here is a patch. Please note that in your example \r is replaced by \n per 2.11: http://www.w3.org/TR/REC-xml/#sec-line-ends Also, the patch is only for ElementTree, I will investigate cElementTree but no promises.
---------- keywords: +patch nosy: +lwcolton Added file: http://bugs.python.org/file36929/17582-etree-whitespace.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17582> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com