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-December/030824.html below:

[Python-Dev] New and Improved Import Hooks

[Python-Dev] New and Improved Import Hooks [Python-Dev] New and Improved Import HooksGordon McMillan gmcm@hypernet.com
Thu, 5 Dec 2002 12:01:47 -0500
On 5 Dec 2002 at 15:41, Samuele Pedroni wrote:

> > Gordon McMillan wrote:
> >
> > > Here's what iu.py does:

[...]

> what about __path__'s role in this picture (btw this
> is not a rhetoric question)? 

In iu, __path__ is (by default) treated just like
a "local" sys.path. In fact, you *could* say that
sys.path is just the __path__ of the package-with-no-name.

BTW, iu does allow non string objects in sys.path.
If it exposes "getmod(name)", that will be tried
in preference to iu's own machinery.

-- Gordon
http://www.mcmillan-inc.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