[Python-checkins] r63274 - in python/trunk: Lib/plat-irix5/GET.py Lib/plat-irix6/GET.py Lib/test/test_py3kwarn.py Misc/NEWS
brett.cannon
python-checkins at python.org
Thu May 15 05:27:13 CEST 2008
Author: brett.cannon
Date: Thu May 15 05:27:12 2008
New Revision: 63274
Log:
Deprecate GET from IRIX for removal in 3.0.
Modified:
python/trunk/Lib/plat-irix5/GET.py
python/trunk/Lib/plat-irix6/GET.py
python/trunk/Lib/test/test_py3kwarn.py
python/trunk/Misc/NEWS
Modified: python/trunk/Lib/plat-irix5/GET.py
==============================================================================
--- python/trunk/Lib/plat-irix5/GET.py (original)
+++ python/trunk/Lib/plat-irix5/GET.py Thu May 15 05:27:12 2008
@@ -1,4 +1,7 @@
# Symbols from <gl/get.h>
+from warnings import warnpy3k
+warnpy3k("the GET module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
BCKBUFFER = 0x1
FRNTBUFFER = 0x2
Modified: python/trunk/Lib/plat-irix6/GET.py
==============================================================================
--- python/trunk/Lib/plat-irix6/GET.py (original)
+++ python/trunk/Lib/plat-irix6/GET.py Thu May 15 05:27:12 2008
@@ -1,4 +1,7 @@
# Symbols from <gl/get.h>
+from warnings import warnpy3k
+warnpy3k("the GET module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
BCKBUFFER = 0x1
FRNTBUFFER = 0x2
Modified: python/trunk/Lib/test/test_py3kwarn.py
==============================================================================
--- python/trunk/Lib/test/test_py3kwarn.py (original)
+++ python/trunk/Lib/test/test_py3kwarn.py Thu May 15 05:27:12 2008
@@ -134,7 +134,7 @@
inclusive_platforms = {'irix' : ('pure', 'AL', 'al', 'CD', 'cd', 'cddb',
'cdplayer', 'CL', 'cl', 'DEVICE', 'GL',
'gl', 'ERRNO', 'FILE', 'FL', 'flp', 'fl',
- 'fm'),
+ 'fm', 'GET'),
'darwin' : ('autoGIL', 'Carbon', 'OSATerminology',
'icglue', 'Nav', 'MacOS', 'aepack',
'aetools', 'aetypes', 'applesingle',
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Thu May 15 05:27:12 2008
@@ -32,6 +32,8 @@
Library
-------
+- The GET module from IRIX has been deprecate for removal in Python 3.0.
+
- The fm module from IRIX has been deprecated for removal in Python 3.0.
- The FL, flp, and fl modules from IRIX have been deprecated for removal in
More information about the Python-checkins
mailing list