Martin Panter added the comment:

The ElementTree class imitates or wraps many methods of the Element class. 
Since Element.append() and remove() already exist and act on children of the 
element, I think the new ElementTree methods should be named differently. Maybe 
something like prolog_append() and prolog_remove()? Or prologue_append() 
depending on your spelling preferences :P

Also, maybe the new write() calls should add newlines.

----------
nosy: +vadmium

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24287>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to