Re: Python FAQ -- comments please! ** DON'T DISTRIBIUTE ***
tnb2d@henson.cs.virginia.edu
Wed, 17 Nov 93 11:05:24 EST
If I want to get at changes I make to a module I've *import*ed
without having to quit the interpreter I can use the reload(module)
call, correct? But if I've *import*ed functions and data *from* the
module, and not actually *import*ed the module itself this reloading
doesn't work. I can't re-*import* parts of a module. Why not? I
understand the desire for caching modules and appreciate it MOST of
the time, but sometimes I don't want the cached values! There is a
way provided to defeat that cache (reload) for *import*ed modules when
I want/need to. How hard would it be to provide a 'from module
re-import *' call that would defeat the cache and go back to disk for
these items as well?
-------> Tommy.