diff options
author | Brett Cannon <bcannon@gmail.com> | 2008-05-14 21:12:12 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2008-05-14 21:12:12 (GMT) |
commit | 650f5161f45390bc3b621bc7db9edfd54e7f59b9 (patch) | |
tree | 53165bcdac718396ee4afb64ce5a35961e9db54f /Lib/plat-irix5 | |
parent | 54c77aa4595a9896f45390d0d0ce6ff47870cca0 (diff) | |
download | cpython-650f5161f45390bc3b621bc7db9edfd54e7f59b9.zip cpython-650f5161f45390bc3b621bc7db9edfd54e7f59b9.tar.gz cpython-650f5161f45390bc3b621bc7db9edfd54e7f59b9.tar.bz2 |
Deprecate CL, CL_old, and cl for 3.0.
Diffstat (limited to 'Lib/plat-irix5')
-rwxr-xr-x | Lib/plat-irix5/CL.py | 4 | ||||
-rwxr-xr-x | Lib/plat-irix5/CL_old.py | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/Lib/plat-irix5/CL.py b/Lib/plat-irix5/CL.py index 23259c5..15130e4 100755 --- a/Lib/plat-irix5/CL.py +++ b/Lib/plat-irix5/CL.py @@ -1,5 +1,9 @@ # Backward compatible module CL. # All relevant symbols are now defined in the module cl. +from warnings import warnpy3k +warnpy3k("the CL module has been removed in Python 3.0", stacklevel=2) +del warnpy3k + try: from cl import * except ImportError: diff --git a/Lib/plat-irix5/CL_old.py b/Lib/plat-irix5/CL_old.py index 967b497..892f86c 100755 --- a/Lib/plat-irix5/CL_old.py +++ b/Lib/plat-irix5/CL_old.py @@ -8,6 +8,10 @@ # # originalFormat parameter values # +from warnings import warnpy3k +warnpy3k("the CL_old module has been removed in Python 3.0", stacklevel=2) +del warnpy3k + MAX_NUMBER_OF_ORIGINAL_FORMATS = 32 # Audio |