[Python-checkins] r63100 - python/trunk/Doc/library/mailbox.rst
georg.brandl
python-checkins at python.org
Sun May 11 23:54:09 CEST 2008
Author: georg.brandl
Date: Sun May 11 23:54:09 2008
New Revision: 63100
Log:
Add a deprecation notice to mailbox' old classes' doc.
Modified:
python/trunk/Doc/library/mailbox.rst
Modified: python/trunk/Doc/library/mailbox.rst
==============================================================================
--- python/trunk/Doc/library/mailbox.rst (original)
+++ python/trunk/Doc/library/mailbox.rst Sun May 11 23:54:09 2008
@@ -1507,11 +1507,13 @@
Deprecated classes and methods
------------------------------
+.. deprecated:: 2.6
+
Older versions of the :mod:`mailbox` module do not support modification of
mailboxes, such as adding or removing message, and do not provide classes to
represent format-specific message properties. For backward compatibility, the
older mailbox classes are still available, but the newer classes should be used
-in preference to them.
+in preference to them. The old classes will be removed in Python 3.0.
Older mailbox objects support only iteration and provide a single public method:
More information about the Python-checkins
mailing list