]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Deprecate the toaiff module for removal in 3.0.
authorBrett Cannon <bcannon@gmail.com>
Fri, 9 May 2008 05:32:42 +0000 (05:32 +0000)
committerBrett Cannon <bcannon@gmail.com>
Fri, 9 May 2008 05:32:42 +0000 (05:32 +0000)
Doc/library/undoc.rst
Lib/toaiff.py
Misc/NEWS

index 62efc1842df58d38e3b81410b54cbf1de992cbbd..856cf860632ac24e46220f6d4c0747369b8cac7e 100644 (file)
@@ -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
index 3c8a02ba726136d59b0a98ac6269d32dbad0042f..3a2b80cbe383be8075f1b2198e9a1c1c330067b5 100644 (file)
@@ -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
index 82af109a44e3e8c526a76c14d94160abf3afb407..58fd955bf5190ad6afc6f3c2d5c0aba788166907 100644 (file)
--- 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.