For completeness, add a dummy load_package() method to RHooks. It

should never be called, so this isn't really needed, but this
signifies that rexec now supports packages -- because ihooks does.
This commit is contained in:
Guido van Rossum 1998-06-29 20:32:57 +00:00
parent 9f5c36fddb
commit 8b3282be9f
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ class RHooks(ihooks.Hooks):
def init_frozen(self, name): raise SystemError, "don't use this"
def load_source(self, *args): raise SystemError, "don't use this"
def load_compiled(self, *args): raise SystemError, "don't use this"
def load_package(self, *args): raise SystemError, "don't use this"
def load_dynamic(self, name, filename, file):
return self.rexec.load_dynamic(name, filename, file)