This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author scoder
Recipients Marco Sulla, eli.bendersky, rhettinger, scoder, serhiy.storchaka
Date 2019-08-10.18:46:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1565462792.06.0.369831630026.issue37792@roundup.psfhosted.org>
In-reply-to
Content
Right. If you want to compare XML trees for equality, either write your own deep-tree comparison function, or use something like doctestcompare, or use a C14N serialisation (which is now part of Py3.8). Whichever suits your needs.

https://github.com/lxml/lxml/blob/master/src/lxml/doctestcompare.py

https://docs.python.org/3.8/library/xml.etree.elementtree.html#xml.etree.ElementTree.canonicalize
History
Date User Action Args
2019-08-10 18:46:32scodersetrecipients: + scoder, rhettinger, eli.bendersky, serhiy.storchaka, Marco Sulla
2019-08-10 18:46:32scodersetmessageid: <1565462792.06.0.369831630026.issue37792@roundup.psfhosted.org>
2019-08-10 18:46:32scoderlinkissue37792 messages
2019-08-10 18:46:31scodercreate