In article <[EMAIL PROTECTED]>, David Bolen <[EMAIL PROTECTED]> wrote:
> Just <[EMAIL PROTECTED]> writes: > > > the zipimport module has an attr called _zip_directory_cache, which is a > > dict you can .clear(). Still, reloading modules is hairy at best, its > > probably easiest to relaunch your app when the .zip file has changed. > > Except that he's getting an error during the process exit of the > current execution, which is needed to restart. And if he updates to a > different copy, there's the bootstrap problem of how to get it back > into the standard location for the next restart since his application > will need to have it to restart in the first place. Right. It sounds like a module is imported at exit that wasn't imported before. If that's the case, it may help to make sure all modules needed for exit are imported beforehand. Just -- http://mail.python.org/mailman/listinfo/python-list