[Python-Dev] Fixing the XML batteries

Mike Meyer mwm at mired.org
Fri Dec 9 19:07:36 CET 2011

On Fri, 09 Dec 2011 09:02:35 +0100
Stefan Behnel <stefan_ml at behnel.de> wrote:

> a) The stdlib documentation should help users to choose the right
> tool right from the start.
> b) cElementTree should finally loose it's "special" status as a
> separate library and disappear as an accelerator module behind
> ElementTree.

+1 and +1.

I've done a lot of xml work in Python, and unless you've got a
particular reason for wanting to use the dom, ElementTree is the only
sane way to go.

I recently converted a middling-sized app from using the dom to using
ElementTree, and wrote up some guidelines for the process for the
client. I can try and shake it out of my clients lawyers if it would
help with this or others are interested.


More information about the Python-Dev mailing list