Christoph Zwerschke wrote:
I checked this and it seems you are right. I cannot even use KidKit if
Kid is installed as an egg, and AutoReload is on.
I think (with my limited expertise) this is because AutoReload uses
ImportSpy, ImportSpy uses ihooks, and ihooks does not support eggs.
At least, if I do the following
import ihooks
ihooks.install(ihooks.ModuleImporter())
then I cannot import any python eggs afterwards.
Maybe Ian Bicking or others with more expertise can confirm this and
propose a solution (replace ihooks with something different)?
One thing that's been discussed is simply dropping the ihooks part --
polling sys.modules for changed modules works without any tricks.
(Of course, you can also turn off installing of zip files, and install
the unpacked egg -- this gives you better tracebacks, for instance)
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss