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

Trent Mick trentm at ActiveState.com
Thu Apr 6 21:52:16 CEST 2006


[Fredrik Lundh wrote]

Trent Mick wrote:

> That is the current state. which reminds that maybe it's time to add an import helper to the standard library, so you can do stringio = importsearch("cStringIO", "StringIO") ET = importsearch("lxml.etree", "cElementTree", "xml.etree.cElementTree") db = importsearch("superdb", "sqlite3", "fancydb", "dumbdb")

To the 'imp' module? Hrm, would then maybe want to change the docs from:

3.21 imp -- Access the import internals 

to

3.21 imp -- Access the import internals and some other useful importing stuff

:)

Trent

-- Trent Mick TrentM at ActiveState.com



More information about the Python-Dev mailing list