How to hook import?

Gordon McMillan gmcm at hypernet.com
Thu Jul 20 19:39:32 EDT 2000


Dirk-Ulrich Heise wrote:

>A question to the Developers:
>
>What's the official way to overload the behaviour
>of import()? 

The current "official" way is still ihooks, but imputil will be in the std 
lib real soon now, and most people find it quite a bit easier to use.

-Gordon



More information about the Python-list mailing list