summaryrefslogtreecommitdiffstats
path: root/Lib/rexec.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-05-10 02:27:04 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-05-10 02:27:04 (GMT)
commit4c1f881f1366ca2fcb55071f3a1b779867fe07d4 (patch)
treee08c0c30b67b6c169f3261abc07d3d24ea2dfcc2 /Lib/rexec.py
parentccdf9081b73e57b0a1c351635ac3935955a144fc (diff)
downloadcpython-4c1f881f1366ca2fcb55071f3a1b779867fe07d4.zip
cpython-4c1f881f1366ca2fcb55071f3a1b779867fe07d4.tar.gz
cpython-4c1f881f1366ca2fcb55071f3a1b779867fe07d4.tar.bz2
Deprecate Bastion and rexec for 3.0.
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 8c9cb9f..22b1bb2 100644
--- a/Lib/rexec.py
+++ b/Lib/rexec.py
@@ -16,6 +16,9 @@ XXX To do:
- r_exec etc. with explicit globals/locals? (Use rexec("exec ... in ...")?)
"""
+from warnings import warnpy3k
+warnpy3k("the rexec module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
import sys