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

Dieter Maurer dieter at handshake.de
Fri Jan 19 13:45:21 EST 2007


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.



-- 
Dieter


More information about the Zope mailing list