10 Feb
2004
10 Feb
'04
5:42 p.m.
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