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

[Python-Dev] New and Improved Import Hooks

[Python-Dev] New and Improved Import Hooks [Python-Dev] New and Improved Import HooksJust van Rossum just@letterror.com
Wed, 4 Dec 2002 16:18:46 +0100
Moore, Paul wrote:

> From: Just van Rossum [mailto:just@letterror.com]
> > I think this is more or less the same as iu.py,
> > except that there's no need for a "shadowpath"
> 
> Thinking further, what is the advantage of your code
> over iu.py, if this is true?

Simplicity. I suspect that the shadowpath is only needed if sys.path items must
be strings. I could be wrong, though.

And it's more or less what Jython does, which is nice. It's simple and works
well. (Samuele: pls correct me if I'm wrong ;-)

> Performance? Do you have figures?

No and no ;-)

(Later, later: the new hook already works, now I need to get a proof-of-concept
of zipimport going.)

Just



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