[New-bugs-announce] [issue36227] Add default_namespace argument to xml.etree.ElementTree.tostring()

Bernt Røskar Brenna report at bugs.python.org
Thu Mar 7 13:57:14 EST 2019


New submission from Bernt Røskar Brenna <bernt.brenna at gmail.com>:

default_namespace is often used when serializing ET elements. tostring() is mainly a wrapper around ElementTree.write(), and it is therefore natural that it mirrors write's argument. tostring() already passes encoding, method and short_empty_elements to write.

----------
components: Library (Lib)
messages: 337428
nosy: Bernt.Røskar.Brenna
priority: normal
severity: normal
status: open
title: Add default_namespace argument to xml.etree.ElementTree.tostring()
type: enhancement
versions: Python 3.8

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


More information about the New-bugs-announce mailing list