[Python-checkins] r62923 - in python/trunk: Doc/library/undoc.rst Lib/toaiff.py Misc/NEWS
brett.cannon
python-checkins at python.org
Fri May 9 07:32:43 CEST 2008
Author: brett.cannon
Date: Fri May 9 07:32:42 2008
New Revision: 62923
Log:
Deprecate the toaiff module for removal in 3.0.
Modified:
python/trunk/Doc/library/undoc.rst
python/trunk/Lib/toaiff.py
python/trunk/Misc/NEWS
Modified: python/trunk/Doc/library/undoc.rst
==============================================================================
--- python/trunk/Doc/library/undoc.rst (original)
+++ python/trunk/Doc/library/undoc.rst Fri May 9 07:32:42 2008
@@ -61,6 +61,9 @@
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
Modified: python/trunk/Lib/toaiff.py
==============================================================================
--- python/trunk/Lib/toaiff.py (original)
+++ python/trunk/Lib/toaiff.py Fri May 9 07:32:42 2008
@@ -7,6 +7,9 @@
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
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Fri May 9 07:32:42 2008
@@ -20,6 +20,8 @@
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.
More information about the Python-checkins
mailing list