[Zope-dev] The refresh "bug".

Dieter Maurer dieter at handshake.de
Tue Feb 10 12:42:46 EST 2004


Lennart Regebro wrote at 2004-2-10 11:08 +0100:
> ... refresh turns objects to None ...
>Yes, but these objects are recreated when the module is reloaded. And if the
>module who import stuff from this module in turn is reloaded, it's imports
>to stuff in that module will be refreshed to point to the new objects.
>
>And this works *most* of the time. :-) I have yet still to figure out
>exactly when it doesn't.

It does not work when the module which import stuff from this module
is not reloaded in turn. Then the imported stuff remains "None".

-- 
Dieter



More information about the Zope-Dev mailing list