summaryrefslogtreecommitdiff
path: root/Lib/rexec.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/rexec.py')
-rw-r--r--Lib/rexec.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/rexec.py b/Lib/rexec.py
index b1a14277b5..f7aa6402b0 100644
--- a/Lib/rexec.py
+++ b/Lib/rexec.py
@@ -180,6 +180,9 @@ class RExec(ihooks._Verbose):
sent to standard output.
"""
+
+ raise RuntimeError, "This code is not secure in Python 2.2 and 2.3"
+
ihooks._Verbose.__init__(self, verbose)
# XXX There's a circular reference here:
self.hooks = hooks or RHooks(verbose)