[Python-Dev] elementtree in stdlib (original) (raw)

Trent Mick trentm at ActiveState.com
Fri Apr 7 19:00:16 CEST 2006


[Thomas Wouters suggested "import ... or" syntax]

or is that all going too far? :)

Yes. It is overkill. The number of different ways to import ElementTree is perhaps unfortunate but it is a mostly isolated incident: effbot providing pure and c versions, it being popular and hence having other implementations and quickly getting into the core.

The original issue was that the various import paths to ElementTree are a little confusing. Adding "or" syntax doesn't change that.

Trent

-- Trent Mick TrentM at ActiveState.com



More information about the Python-Dev mailing list