This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ronaldoussoren
Recipients kirpit, ronaldoussoren
Date 2012-09-25.12:51:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348577466.55.0.634666531321.issue16044@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-09-25 12:51:06ronaldoussorensetrecipients: + ronaldoussoren, kirpit
2012-09-25 12:51:06ronaldoussorensetmessageid: <1348577466.55.0.634666531321.issue16044@psf.upfronthosting.co.za>
2012-09-25 12:51:06ronaldoussorenlinkissue16044 messages
2012-09-25 12:51:05ronaldoussorencreate