RELEASED Python 2.5 (alpha 1)
Fredrik Lundh
fredrik at pythonware.com
Wed Apr 5 10:57:35 EDT 2006
Michael Ekstrand wrote:
> Anyway, the more important question that came to mind: I see that 2.5
> will include the excellent ElementTree. Will cElementTree be included
> where available? or is it only the pure-Python version that will be in
> the standard library?
they're both available, via the "xml.etree" namespace:
>>> import xml.etree.ElementTree
>>> import xml.etree.cElementTree
we've also modified things so that cElementTree uses the expat instance
provided by pyexpat (via runtime linking), rather than it's own copy.
</F>
More information about the Python-list
mailing list