From: mwh21 at cam.ac.uk (Michael Hudson)
Date: 16 Apr 1999 15:43:53 +0100
Subject: Imperfections in ihooks.py?
References: <m390bsoje7.fsf@atrus.jesus.cam.ac.uk> <00d301be880d$0ebcd000$f29b12c2@pythonware.com>
Message-ID: <m37lrcocba.fsf@atrus.jesus.cam.ac.uk>
X-UID: 756                                                  

"Fredrik Lundh" <fredrik at pythonware.com> writes:
> > I apologise for the lousy use of language in this post. It's a subject
> > I find a bit confusing to think about, and I'm clearly not much better
> > a writing about it.
> > 
> > Does anybody out there use ihooks? I'm having a couple of problems.
> 
> Forget about ihooks.py.  Greg Stein's imputil.py module
> is much easier to use, and much more powerful.
> 
> It's in the "small distribution" kit, available from:
> 
>     http://www.lyra.org/greg/small/
> 
> </F>

Ah! Fantastic!

Usual case; I start to think about a problem, ask about it and find
someone else has solved the problem already.

Not perfection yet though - imputil.py contains these lines:

  def _reload_hook(self, module):
    raise SystemError, "reload not yet implemented"

which was one of the things I was moaning about in my post.

Thanks!

Michael




