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/2002-February/020526.html below:

[Python-Dev] PEP 273 - Import from Zip Archives

[Python-Dev] PEP 273 - Import from Zip ArchivesSteven Majewski sdm7g@virginia.edu
Thu, 28 Feb 2002 11:15:18 -0500 (EST)
On Thu, 28 Feb 2002, M.-A. Lemburg wrote:

> My only gripe with the existing C implementation is that
> I would like to have more hooks available. Currently, you
> have to replace the complete API in order to add new
> features -- not exactly OO :-/

It might be time to consider, rather than a special case for
zip files only, adding an extensible import mechanism ( something
like the protocol or mime-type handlers for browsers ).

If there's a zipfile in sys.path, then import calls the zipfile
handler to search it, if there's a URL in the path, it calls
a handler for that, etc. ( Maybe even a url for some sort of
directory service that finds the module for you. )

-- Steve       [Obviously thinking about TimBL's talk...]





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