[issue33561] Add .tostring() method to xml.etree.ElementTree.Element

Stefan Behnel report at bugs.python.org
Thu May 17 14:43:21 EDT 2018


Stefan Behnel <stefan_ml at behnel.de> added the comment:

Sorry, but you are proposing an API extension here that provides no benefits but duplicates existing functionality in a less versatile place. This is not going to happen.

The second proposal (str(xml)) is actually not very helpful as it does not allow any kind of configuration, so it breaks backwards compatibility without benefit. Also not going to happen.

----------
nosy: +scoder

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


More information about the Python-bugs-list mailing list