Deprecate Bastion and rexec for 3.0.

This commit is contained in:
Brett Cannon 2008-05-10 02:27:04 +00:00
parent ccdf9081b7
commit 4c1f881f13
5 changed files with 17 additions and 2 deletions

View file

@ -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