Deprecate jpeg for IRIX for removal in 3.0.

This commit is contained in:
Brett Cannon 2008-05-15 03:44:00 +00:00
parent d8c41ecc17
commit 89f5d9cc81
4 changed files with 9 additions and 1 deletions

View file

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

View file

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

View file

@ -135,7 +135,7 @@ class TestStdlibRemovals(unittest.TestCase):
'cdplayer', 'CL', 'cl', 'DEVICE', 'GL',
'gl', 'ERRNO', 'FILE', 'FL', 'flp', 'fl',
'fm', 'GET', 'GLWS', 'imgfile', 'IN',
'IOCTL'),
'IOCTL', 'jpeg'),
'darwin' : ('autoGIL', 'Carbon', 'OSATerminology',
'icglue', 'Nav', 'MacOS', 'aepack',
'aetools', 'aetypes', 'applesingle',

View file

@ -32,6 +32,8 @@ Extension Modules
Library
-------
- The jpeg module from IRIX has been deprecated for removal in Python 3.0.
- The IOCTL module from IRIX has been deprecated for removal in Python 3.0.
- The IN module from IRIX has been deprecated for removal in Python 3.0.