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 scoder
Recipients eli.bendersky, ezio.melotti, flox, scoder
Date 2012-02-26.10:21:31
SpamBayes Score 2.70467e-06
Marked as misclassified No
Message-id <>
In-reply-to <>
Note that Element is also a factory function in lxml.etree, and people have
been living with this quite happily. I don't see a reason to change either
side. There is a dedicated function iselement(obj) for exactly the purpose
of testing if something is an Element object. isinstance() is not the right
way to do it and inheritance is not portable. (the right type to inherit
from in lxml is actually called ElementBase)

I'm fine with changing the other two (XMLParser and TreeBuilder), if only
for consistency.

Date User Action Args
2012-02-26 10:21:36scodersetrecipients: + scoder, ezio.melotti, eli.bendersky, flox
2012-02-26 10:21:31scoderlinkissue14128 messages
2012-02-26 10:21:31scodercreate