Re: [Import-sig] Re: Long-awaited imputil comments
by Gordon McMillan other posts by this author
Feb 16 2000 6:43PM messages near this date
Re: [Import-sig] Re: Long-awaited imputil comments
|
Re: [Import-sig] Re: Long-awaited imputil comments
[Guido]
> > > I think we need a hook here so that Marc-Andre can implement
> > > walk-me-up-Scotty; or Tim Peters could implement a policy that
> > > requires all imports to use the full module name, even from
> > > within the same package.
Hmm, after thinking about it, I can't see these as "import
hooks". At least, if you are installing these system-wide,
these are changing the semantics of "import", not grabbing
code from strange places, or transforming .xyz files into
Python or ...
I can have working code; now add some mxX or TP extension
and have existing code (not using the new extension) break.
OTOH, if MAL / TP provides an importer, and fixes that
importer to follow their preferred policy, that's fine; and I can
pretend that that's an "import hook".
- Gordon
Thread:
Guido van Rossum
Fredrik Lundh
Greg Stein
Gordon McMillan
Fredrik Lundh
Guido van Rossum
Gordon McMillan
Guido van Rossum
Gordon McMillan
Guido van Rossum
Greg Stein
Greg Stein
Greg Stein
Guido van Rossum
Greg Stein
Guido van Rossum
Just van Rossum
Gordon McMillan
Gordon McMillan
Guido van Rossum
Greg Stein
Guido van Rossum
Greg Stein
Guido van Rossum
Greg Stein
|