Imperfections in ihooks.py?

Michael Hudson mwh21 at cam.ac.uk
Fri Apr 16 10:43:53 EDT 1999


"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




More information about the Python-list mailing list