From 11ae6e7151fb6c6364f53f28337dd4579c5de0ee Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Thu, 15 May 2008 03:49:00 +0000 Subject: [PATCH] Deprecated panelparser for removal in 3.0. --- Lib/plat-irix5/panelparser.py | 3 +++ Lib/plat-irix6/panelparser.py | 3 +++ Misc/NEWS | 5 ++++- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Lib/plat-irix5/panelparser.py b/Lib/plat-irix5/panelparser.py index c831c492729..362156d4c19 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 c831c492729..362156d4c19 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 2c54fdcce63..1421bde2e6e 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.