On 12/9/07, Christian Heimes <[EMAIL PROTECTED]> wrote:

> The touch points between post import hooks and lazy imports
> are minimal.

Could you give me a use-case for post-import hooks *without* lazy imports?

As nearly as I can tell, either

(1)  The module is already loaded (and the whole infrastructure is overhead)

(2a)  You will be importing the module.  Then you can just run your
hooks directly without any infrastructure.

(2b)  You will not be importing the module you need to hook -- in
which case I think you want laziness as well.

-jJ
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to