New submission from Bernt Røskar Brenna <bernt.bre...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue36227>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to