caching of modules?
Alex Martelli
aleax at aleax.it
Mon Apr 29 13:33:36 EDT 2002
Mike Kayser wrote:
...
> It looks to me like it's caching the module somewhere, but then when it
Yes, in sys.modules.
> spits out error information it goes back to the file itself, even if it's
Indeed, it 'caches' the compiled form, not the sources.
> Does anyone know if my hypothesis is right? If so, how can I force the
> "module cache" to reload the updated file?
Built-in function reload lets you reload any given module object.
Alex
More information about the Python-list
mailing list