Kaydet (Commit) 8b3282be authored tarafından Guido van Rossum's avatar Guido van Rossum

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.
üst 9f5c36fd
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment