]> granicus.if.org Git - python/commitdiff
Deprecated panelparser for removal in 3.0.
authorBrett Cannon <bcannon@gmail.com>
Thu, 15 May 2008 03:49:00 +0000 (03:49 +0000)
committerBrett Cannon <bcannon@gmail.com>
Thu, 15 May 2008 03:49:00 +0000 (03:49 +0000)
Lib/plat-irix5/panelparser.py
Lib/plat-irix6/panelparser.py
Misc/NEWS

index c831c492729296ffb19c0944ca12f650117dcaee..362156d4c1903f3018394918b0a76d085c4d8f72 100755 (executable)
@@ -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'
index c831c492729296ffb19c0944ca12f650117dcaee..362156d4c1903f3018394918b0a76d085c4d8f72 100644 (file)
@@ -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'
index 2c54fdcce63b285352a475a551e525a8f62e8a78..1421bde2e6eec4cbe46b3c8e5f7ab3ce6639c8d8 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -32,7 +32,10 @@ Extension Modules
 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.