|
Methods defined here:
- __init__(self)
- Create import hook.
- activateImportSpy(self)
- Activate ImportSpy to keep track of modules loaded elsewhere.
- delModules(self, includePythonModules=False, excludePrefixes=None)
- Delete imported modules.
Deletes all the modules that the ImportSpy has ever imported unless
they are part of WebKit. This in support of DebugAppServer's useful
(yet imperfect) support for AutoReload.
- fileList(self, update=True)
- Return the list of tracked files.
- fileUpdated(self, filename, update=True, getmtime=<function getmtime>)
- Check whether file has been updated.
- load_module(self, name, file, filename, info)
- Replaces imp.load_module.
- notifyOfNewFiles(self, hook)
- Register notification hook.
Called by someone else to register that they'd like to be know
when a new file is imported.
- recordFile(self, filename, isfile=<function isfile>)
- Record a file.
- recordModule(self, mod, isfile=<function isfile>)
- Record a module.
- recordModules(self, moduleNames=None)
- Record a list of modules (or all modules).
- updatedFile(self, update=True, getmtime=<function getmtime>)
- Check whether one of the files has been updated.
- watchFile(self, path, modname=None, getmtime=<function getmtime>)
- Add more files to watch without importing them.
Static methods defined here:
- find_module(name, path=None)
- Replaces imp.find_module.
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|