[Python-Dev] ElementTree in stdlib

Jeremy Hylton jeremy at alum.mit.edu
Wed Dec 14 17:43:22 CET 2005


On 12/14/05, M.-A. Lemburg <mal at egenix.com> wrote:
> > we also need to figure out how to import the bundled version; should it be
> > cElementTree, xml.etree.cElementTree, or just xml.etree.ElementTree
> > (which would then fallback on the Python version if cElementTree isn't
> > built) ?
>
> If the semantics are identical I'd prefer the latter approach
> of using the faster variant if possible.

That is my preference, too.

Jeremy


More information about the Python-Dev mailing list