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-April/063497.html below:

[Python-Dev] elementtree in stdlib

[Python-Dev] elementtree in stdlib [Python-Dev] elementtree in stdlibTrent 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 = import_search("cStringIO", "StringIO")
>     ET = import_search("lxml.etree", "cElementTree", "xml.etree.cElementTree")
>     db = import_search("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

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