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

.DLL vs .PYD search order

[Python-Dev] Re: .DLL vs .PYD search order [Python-Dev] Re: .DLL vs .PYD search orderFredrik Lundh fredrik@pythonware.com
Thu, 2 Dec 1999 13:53:03 +0100
Guido van Rossum <guido@CNRI.Reston.VA.US> wrote:
> > Actually I'm so happy with the magic cookie scheme that I've
> > advocated at various times in the past that something similar also
> > be used for determining where builtin modules and frozen modules
> > appear in sys.path...
> 
> I see the magic cookies as a poor man's (but more compatible!) version
> of a chain of importers as advocated by Greg Stein and other imputil
> fans.  I like the idea, except that I think that the chain should be
> manipulatable more easily than the current imputil implementation.

I know this has been asked before, but cannot recall
any of the arguments against it: how about replacing
Jack's magic cookies with importer objects?

(in other words, if a path item is a string, import as
usual.  otherwise, ask the importer for a code object
or maybe better, a module object).

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