Ronald Oussoren added the comment:

Use the extend method to add multiple elements. Both the source and 
documentation indicate that 'append' is used for appending a single item and 
'extend' for appending multiple items (just like with list).

IMHO this is not a bug.

As an aside: when you import xml.etree.cElementTree you get a faster 
implementation of the same interface, and this (C-based) implementation does 
validate arguments.

----------
resolution:  -> invalid

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

Reply via email to