[issue37792] xml.etree.ElementTree.Element.__eq__ does compare only objects identity

Raymond Hettinger report at bugs.python.org
Thu Aug 8 14:34:00 EDT 2019


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

By default, all objects compare based solely on identity.

Are you making a feature request for Element objects to grow a recursive equality test that includes attributes regardless of order and disregards processing instructions and comments?

What is you principal use case?

----------
nosy: +rhettinger

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37792>
_______________________________________


More information about the Python-bugs-list mailing list