[Python-checkins] r63291 - in python/trunk: Lib/plat-irix5/panel.py Lib/plat-irix6/panel.py Lib/test/test_py3kwarn.py Misc/NEWS
brett.cannon
python-checkins at python.org
Thu May 15 05:46:28 CEST 2008
Author: brett.cannon
Date: Thu May 15 05:46:27 2008
New Revision: 63291
Log:
The panel module for IRIX has been deprecated for removal in 3.0.
Modified:
python/trunk/Lib/plat-irix5/panel.py
python/trunk/Lib/plat-irix6/panel.py
python/trunk/Lib/test/test_py3kwarn.py
python/trunk/Misc/NEWS
Modified: python/trunk/Lib/plat-irix5/panel.py
==============================================================================
--- python/trunk/Lib/plat-irix5/panel.py (original)
+++ python/trunk/Lib/plat-irix5/panel.py Thu May 15 05:46:27 2008
@@ -6,6 +6,9 @@
# most 'pnl' functions are transparently exported by 'panel',
# but dopanel() is overridden and you have to use this version
# if you want to use callbacks.
+from warnings import warnpy3k
+warnpy3k("the panel module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
import pnl
Modified: python/trunk/Lib/plat-irix6/panel.py
==============================================================================
--- python/trunk/Lib/plat-irix6/panel.py (original)
+++ python/trunk/Lib/plat-irix6/panel.py Thu May 15 05:46:27 2008
@@ -6,6 +6,9 @@
# most 'pnl' functions are transparently exported by 'panel',
# but dopanel() is overridden and you have to use this version
# if you want to use callbacks.
+from warnings import warnpy3k
+warnpy3k("the panel module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
import pnl
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:46:27 2008
@@ -135,7 +135,7 @@
'cdplayer', 'CL', 'cl', 'DEVICE', 'GL',
'gl', 'ERRNO', 'FILE', 'FL', 'flp', 'fl',
'fm', 'GET', 'GLWS', 'imgfile', 'IN',
- 'IOCTL', 'jpeg'),
+ 'IOCTL', 'jpeg', 'panel'),
'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:46:27 2008
@@ -32,6 +32,8 @@
Library
-------
+-The panel module from IRIX has been deprecate for removal in Python 3.0.
+
- 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.
More information about the Python-checkins
mailing list