From 8b3282be9f6c747abdf9ae3da5c8590962c7a8e6 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 29 Jun 1998 20:32:57 +0000 Subject: 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. --- Lib/rexec.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/rexec.py b/Lib/rexec.py index 32735bd..c3782c3 100644 --- a/Lib/rexec.py +++ b/Lib/rexec.py @@ -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) -- cgit v0.12