A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-August/068504.html below:

[Python-Dev] Doc suggestion for Elementtree (for 2.5? a bit late, I know...)

[Python-Dev] Doc suggestion for Elementtree (for 2.5? a bit late, I know...) [Python-Dev] Doc suggestion for Elementtree (for 2.5? a bit late, I know...)Fredrik Lundh fredrik at pythonware.com
Mon Aug 28 13:03:43 CEST 2006
Paul Moore wrote:

> One little addition to the elementtree docs. In the overview section,
> adding a paragraph explaining best practice for importing the module
> might be useful.

good idea.

> PS This actually begs the question - are there platforms where
> xml.etree.cElementTree is not available?

not really; I usually recommend checking for

    xml.etree.cElementTree
    cElementTree
    elementtree.ElementTree

in that order, if you just want to get the "best" implementation.

(there are some subtle differences between the C implementations
and the Python implementations, so people who do non-standard
stuff may want to use xml.etree.ElementTree, but I don't think that
has to be mentioned in the overview)

</F> 



More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4