A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-December/030880.html below:

[Python-Dev] New and Improved Import Hooks

[Python-Dev] New and Improved Import Hooks [Python-Dev] New and Improved Import HooksFredrik Lundh fredrik@pythonware.com
Fri, 6 Dec 2002 10:54:18 +0100
Paul Moore wrote:
>=20
> I just tried this out. As far as I can see, iu works perfectly
> with a simple getmod() method. Why does your patch require
> find_module() and load_module()?
>=20
> I'm not criticising, just trying to understand the
> requirements... (Anything to make writing an import hook
> easier!!!)

the internal import architecture does things in two steps, for
some reason.  this is also reflected in the public "imp" module
interface:

    http://www.python.org/doc/2.2.2/lib/module-imp.html

I'm not sure how Just's patch interacts with "imp", so maybe
this is a non-issue. =20

</F>




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