[Zope] Refreshing modules imported into external methods
Dylan Reinhardt
zope at dylanreinhardt.com
Sat Dec 20 13:36:21 EST 2003
Michael Hartl said:
> On the other hand, when a module is included in another program, any
changes to
> the module are automatically reflected in the program when it is run at the
> Linux command line. (Essentially the same thing happens under Windows
when a
> Python file is run as a script by double-clicking on it.)
This is irrelevant to how a long-running program works. If you reloaded
Zope every time you executed a request, you'd see the same behavior...
eventually. :-)
For non-trivial software, Python's "ordinary" behavior is the opposite of
what you described.
FWIW,
Dylan
More information about the Zope
mailing list