Module ihooks :: Class Hooks
[show private | hide private]
[frames | no frames]

Class Hooks

_Verbose --+
           |
          Hooks

Known Subclasses:
PackageHooks

Hooks into the filesystem and interpreter.

By deriving a subclass you can redefine your filesystem interface, e.g. to merge it with the URL space.

This base class behaves just like the native filesystem.
Method Summary
  add_module(self, name)
  default_path(self)
  get_frozen_object(self, name)
  get_suffixes(self)
  init_builtin(self, name)
  init_frozen(self, name)
  is_builtin(self, name)
  is_frozen(self, name)
  listdir(self, x)
  load_compiled(self, name, filename, file)
  load_dynamic(self, name, filename, file)
  load_package(self, name, filename, file)
  load_source(self, name, filename, file)
  modules_dict(self)
  new_module(self, name)
  openfile(self, *x)
  path_exists(self, x)
  path_isabs(self, x)
  path_isdir(self, x)
  path_isfile(self, x)
  path_islink(self, x)
  path_join(self, x, y)
  path_split(self, x)
    Inherited from _Verbose
  __init__(self, verbose)
  get_verbose(self)
  message(self, format, *args)
  note(self, *args)
  set_verbose(self, verbose)

Class Variable Summary
classobj listdir_error = exceptions.OSError
classobj openfile_error = exceptions.IOError

Generated by Epydoc 2.1 on Tue Dec 20 15:33:10 2005 http://epydoc.sf.net