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

_ClassType Hooks

_Verbose --+
           |
          Hooks
Known Subclasses:

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.

Nested Classes [hide private]
openfile_error
I/O operation failed.
listdir_error
OS system call failed.
Instance Methods [hide private]
 
get_suffixes(self)
 
new_module(self, name)
 
is_builtin(self, name)
 
init_builtin(self, name)
 
is_frozen(self, name)
 
init_frozen(self, name)
 
get_frozen_object(self, name)
 
load_source(self, name, filename, file=None)
 
load_compiled(self, name, filename, file=None)
 
load_dynamic(self, name, filename, file=None)
 
load_package(self, name, filename, file=None)
 
add_module(self, name)
 
modules_dict(self)
 
default_path(self)
 
path_split(self, x)
 
path_join(self, x, y)
 
path_isabs(self, x)
 
path_exists(self, x)
 
path_isdir(self, x)
 
path_isfile(self, x)
 
path_islink(self, x)
 
openfile(self, *x)
 
listdir(self, x)

Inherited from _Verbose: __init__, get_verbose, message, note, set_verbose