[issue37792] xml.etree.ElementTree.Element.__eq__ does compare only objects identity
Marco Sulla
report at bugs.python.org
Thu Aug 22 19:30:48 EDT 2019
Marco Sulla <launchpad.net at marco.sulla.e4ward.com> added the comment:
Thanks, but telling the truth:
1. I just not use SubElement, even if it's more convenient. I just create an Element and I append to the parent one. It's much more clear IMHO
2. I do not use `fromstring` and all its friends. It was just a suggestion
3. I already copy/pasted from SO a function that serialize the Element. I do not want to waste time to do something that will be not used as `Element.__eq__()` implementation, as IMHO should be.
See ya.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37792>
_______________________________________
More information about the Python-bugs-list
mailing list