summaryrefslogtreecommitdiff
path: root/Lib/Bastion.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-05-10 02:27:04 +0000
committerBrett Cannon <bcannon@gmail.com>2008-05-10 02:27:04 +0000
commit4c1f881f1366ca2fcb55071f3a1b779867fe07d4 (patch)
treee08c0c30b67b6c169f3261abc07d3d24ea2dfcc2 /Lib/Bastion.py
parentccdf9081b73e57b0a1c351635ac3935955a144fc (diff)
downloadcpython-git-4c1f881f1366ca2fcb55071f3a1b779867fe07d4.tar.gz
Deprecate Bastion and rexec for 3.0.
Diffstat (limited to 'Lib/Bastion.py')
-rw-r--r--Lib/Bastion.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/Bastion.py b/Lib/Bastion.py
index 93511b0a94..d0dddbfdef 100644
--- a/Lib/Bastion.py
+++ b/Lib/Bastion.py
@@ -25,6 +25,9 @@ the repr() of the original object. This is precomputed when the
bastion is created.
"""
+from warnings import warnpy3k
+warnpy3k("the Bastion module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
__all__ = ["BastionClass", "Bastion"]