Author stevoisiak
Recipients stevoisiak
Date 2018-05-17.17:45:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1526579156.22.0.682650639539.issue33561@psf.upfronthosting.co.za>
In-reply-to
Content
Alternatively, the most intuitive solution would be to give `Element` an explicit `__str__` method.

The current behavior of `str(Element)` is to return the object's location in memory.

```
from xml.etree import ElementTree

xml = ElementTree.Element('Person', Name='John')
print(str(xml))
# Output: <Element 'Person' at 0x028575D0>
```

Unfortunately, changing this behavior could cause issues with backwards compatibility.
History
Date User Action Args
2018-05-17 17:45:56stevoisiaksetrecipients: + stevoisiak
2018-05-17 17:45:56stevoisiaksetmessageid: <1526579156.22.0.682650639539.issue33561@psf.upfronthosting.co.za>
2018-05-17 17:45:56stevoisiaklinkissue33561 messages
2018-05-17 17:45:56stevoisiakcreate