summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-05-15 03:49:00 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-05-15 03:49:00 (GMT)
commit11ae6e7151fb6c6364f53f28337dd4579c5de0ee (patch)
tree6c7893e5df0a6694d47840aa258e2480e7cdfc51
parent7e37586c50d67805b02475b656f5ad083d4bc168 (diff)
downloadcpython-11ae6e7151fb6c6364f53f28337dd4579c5de0ee.zip
cpython-11ae6e7151fb6c6364f53f28337dd4579c5de0ee.tar.gz
cpython-11ae6e7151fb6c6364f53f28337dd4579c5de0ee.tar.bz2
Deprecated panelparser for removal in 3.0.
-rwxr-xr-xLib/plat-irix5/panelparser.py3
-rw-r--r--Lib/plat-irix6/panelparser.py3
-rw-r--r--Misc/NEWS5
3 files changed, 10 insertions, 1 deletions
diff --git a/Lib/plat-irix5/panelparser.py b/Lib/plat-irix5/panelparser.py
index c831c49..362156d 100755
--- a/Lib/plat-irix5/panelparser.py
+++ b/Lib/plat-irix5/panelparser.py
@@ -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'
diff --git a/Lib/plat-irix6/panelparser.py b/Lib/plat-irix6/panelparser.py
index c831c49..362156d 100644
--- a/Lib/plat-irix6/panelparser.py
+++ b/Lib/plat-irix6/panelparser.py
@@ -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'
diff --git a/Misc/NEWS b/Misc/NEWS
index 2c54fdc..1421bde 100644
--- 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.