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 serhiy.storchaka
Recipients docs@python, eli.bendersky, martin.panter, py.user, scoder, serhiy.storchaka
Date 2016-09-22.09:02:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1474534931.26.0.293990489057.issue28234@psf.upfronthosting.co.za>
In-reply-to
Content
The built-in ElementTree package is derived from lxml.etree. I suppose that the documentation is inherited from lxml.etree.

The built-in ElementTree package supports duck typing. The element object is not always an instance of the Element class. iselement() is not equal to isinstance(e, Element), it just tests the existence of the tag attribute. Many ElementTree functions have fast path for Element, but work with duck typed classes too. I believe that in particular you can mix Python and C implementations of Element and lxml.etree elements in one tree.
History
Date User Action Args
2016-09-22 09:02:11serhiy.storchakasetrecipients: + serhiy.storchaka, scoder, eli.bendersky, docs@python, py.user, martin.panter
2016-09-22 09:02:11serhiy.storchakasetmessageid: <1474534931.26.0.293990489057.issue28234@psf.upfronthosting.co.za>
2016-09-22 09:02:11serhiy.storchakalinkissue28234 messages
2016-09-22 09:02:11serhiy.storchakacreate