[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
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