summaryrefslogtreecommitdiff
path: root/Lib/plat-irix5/jpeg.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-05-15 03:44:00 +0000
committerBrett Cannon <bcannon@gmail.com>2008-05-15 03:44:00 +0000
commit89f5d9cc81f0963f4ae72cc5db6ad73bdce04305 (patch)
tree750759cbb718fe8a5cf8c979b30e11b38576be2f /Lib/plat-irix5/jpeg.py
parentd8c41ecc1770d6661273a56cf77c177fb6291b30 (diff)
downloadcpython-git-89f5d9cc81f0963f4ae72cc5db6ad73bdce04305.tar.gz
Deprecate jpeg for IRIX for removal in 3.0.
Diffstat (limited to 'Lib/plat-irix5/jpeg.py')
-rwxr-xr-xLib/plat-irix5/jpeg.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/plat-irix5/jpeg.py b/Lib/plat-irix5/jpeg.py
index f8fc7e7210..944ce930e1 100755
--- a/Lib/plat-irix5/jpeg.py
+++ b/Lib/plat-irix5/jpeg.py
@@ -4,6 +4,9 @@
# XXX It appears that compressing grayscale images doesn't work right;
# XXX the resulting file causes weirdness.
+from warnings import warnpy3k
+warnpy3k("the jpeg module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
class error(Exception):
pass