mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Deprecate Bastion and rexec for 3.0.
This commit is contained in:
parent
ccdf9081b7
commit
4c1f881f13
5 changed files with 17 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue