summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-05-09 05:32:42 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-05-09 05:32:42 (GMT)
commitfa24d9a71ca6b4d045ed1e56bc930c7031db17e7 (patch)
tree79c62e0f0087e9276035be1a7a6037336553fab2
parent3c759144340dc8f7548d5f62e0d195ed8e689a12 (diff)
downloadcpython-fa24d9a71ca6b4d045ed1e56bc930c7031db17e7.zip
cpython-fa24d9a71ca6b4d045ed1e56bc930c7031db17e7.tar.gz
cpython-fa24d9a71ca6b4d045ed1e56bc930c7031db17e7.tar.bz2
Deprecate the toaiff module for removal in 3.0.
-rw-r--r--Doc/library/undoc.rst3
-rw-r--r--Lib/toaiff.py3
-rw-r--r--Misc/NEWS2
3 files changed, 8 insertions, 0 deletions
diff --git a/Doc/library/undoc.rst b/Doc/library/undoc.rst
index 62efc18..856cf86 100644
--- a/Doc/library/undoc.rst
+++ b/Doc/library/undoc.rst
@@ -61,6 +61,9 @@ Multimedia
or demo. Requires the external program :program:`sox`.
+ .. warning:: The :mod:`toaiff` module has been removed in 3.0.
+
+
.. _undoc-mac-modules:
Undocumented Mac OS modules
diff --git a/Lib/toaiff.py b/Lib/toaiff.py
index 3c8a02b..3a2b80c 100644
--- a/Lib/toaiff.py
+++ b/Lib/toaiff.py
@@ -7,6 +7,9 @@ Returned filename is either the input filename or a temporary filename;
in the latter case the caller must ensure that it is removed.
Other temporary files used are removed by the function.
"""
+from warnings import warnpy3k
+warnpy3k("the toaiff module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
import os
import tempfile
diff --git a/Misc/NEWS b/Misc/NEWS
index 82af109..58fd955 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -20,6 +20,8 @@ Extension Modules
Library
-------
+- The toaiff module has been deprecated for removal in Python 3.0.
+
- The test.testall module has been deprecated for removal in Python 3.0.
- The new module has been deprecated for removal in Python 3.0.