commit | 4c1f881f1366ca2fcb55071f3a1b779867fe07d4 | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Sat May 10 02:27:04 2008 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Sat May 10 02:27:04 2008 +0000 |
tree | e08c0c30b67b6c169f3261abc07d3d24ea2dfcc2 | |
parent | ccdf9081b73e57b0a1c351635ac3935955a144fc [diff] [blame] |
Deprecate Bastion and rexec for 3.0.
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 @@ - 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