ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> import-sig
import-sig
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved