[Python-checkins] r63294 - in python/trunk: Lib/plat-irix5/panelparser.py Lib/plat-irix6/panelparser.py Misc/NEWS

brett.cannon python-checkins at python.org
Thu May 15 05:49:00 CEST 2008


Author: brett.cannon
Date: Thu May 15 05:49:00 2008
New Revision: 63294

Log:
Deprecated panelparser for removal in 3.0.

Modified:
   python/trunk/Lib/plat-irix5/panelparser.py
   python/trunk/Lib/plat-irix6/panelparser.py
   python/trunk/Misc/NEWS

Modified: python/trunk/Lib/plat-irix5/panelparser.py
==============================================================================
--- python/trunk/Lib/plat-irix5/panelparser.py	(original)
+++ python/trunk/Lib/plat-irix5/panelparser.py	Thu May 15 05:49:00 2008
@@ -4,6 +4,9 @@
 # (which is written in Scheme so it can't help writing S-expressions).
 #
 # See notes at end of file.
+from warnings import warnpy3k
+warnpy3k("the panelparser module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
 
 
 whitespace = ' \t\n'

Modified: python/trunk/Lib/plat-irix6/panelparser.py
==============================================================================
--- python/trunk/Lib/plat-irix6/panelparser.py	(original)
+++ python/trunk/Lib/plat-irix6/panelparser.py	Thu May 15 05:49:00 2008
@@ -4,6 +4,9 @@
 # (which is written in Scheme so it can't help writing S-expressions).
 #
 # See notes at end of file.
+from warnings import warnpy3k
+warnpy3k("the panelparser module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
 
 
 whitespace = ' \t\n'

Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Thu May 15 05:49:00 2008
@@ -32,7 +32,10 @@
 Library
 -------
 
--The panel module from IRIX has been deprecate for removal in Python 3.0.
+- The panelparser module from IRIX has been deprecated for removal in
+  Python 3.0.
+
+-The panel module from IRIX has been deprecated for removal in Python 3.0.
 
 - The jpeg module from IRIX has been deprecated for removal in Python 3.0.
 


More information about the Python-checkins mailing list