summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-06-29 20:32:57 (GMT)
committerGuido van Rossum <guido@python.org>1998-06-29 20:32:57 (GMT)
commit8b3282be9f6c747abdf9ae3da5c8590962c7a8e6 (patch)
tree54ba2dfdb78c625a1f4f28f69d7ca738966de1e8
parent9f5c36fddb83a761470f42e88934b396d7af4407 (diff)
downloadcpython-8b3282be9f6c747abdf9ae3da5c8590962c7a8e6.zip
cpython-8b3282be9f6c747abdf9ae3da5c8590962c7a8e6.tar.gz
cpython-8b3282be9f6c747abdf9ae3da5c8590962c7a8e6.tar.bz2
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.
-rw-r--r--Lib/rexec.py1
1 files changed, 1 insertions, 0 deletions
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)