[Zope] How to get modules that are called by external methods reloaded?

Gaute Amundsen gaute at div.org
Fri Jan 19 17:57:01 EST 2007


On Friday 19 January 2007 19:45, Dieter Maurer wrote:
> Gaute Amundsen wrote at 2007-1-19 10:36 +0100:
> >Only way I have found so far is to restart zope, and on a production
> > server, that is not very popular. Takes about 10 minutes on ours..
>
> You can use Python's "reload" builtin to reload them.
>
> Be warned however, that you must reload also any module that contains
> (has imported) functions defined in the reloaded module.

Ah.. to late now, but I wil keep that in mind next time :)

Gaute


More information about the Zope mailing list