[Python-checkins] r88259 - python/branches/py3k/Doc/whatsnew/3.2.rst
raymond.hettinger
python-checkins at python.org
Sun Jan 30 09:20:37 CET 2011
Author: raymond.hettinger
Date: Sun Jan 30 09:20:37 2011
New Revision: 88259
Log:
Clarify the status of get_string() and recommend using the binary API.
Modified:
python/branches/py3k/Doc/whatsnew/3.2.rst
Modified: python/branches/py3k/Doc/whatsnew/3.2.rst
==============================================================================
--- python/branches/py3k/Doc/whatsnew/3.2.rst (original)
+++ python/branches/py3k/Doc/whatsnew/3.2.rst Sun Jan 30 09:20:37 2011
@@ -2169,8 +2169,13 @@
method that returns a :class:`bytes` representation of a message corresponding
to a given *key*.
-(Contributed by R. David Murray with efforts from Steffen Daode Nurpmeso and
-Victor Stinner in :issue:`9124`.)
+It is still possible to get non-binary output using the old API's
+:meth:`~mailbox.Mailbox.get_string` method, but that approach
+is not very useful. Instead, it is best to extract messages from
+a :class:`~mailbox.Message` object or to load them from binary input.
+
+(Contributed by R. David Murray, with efforts from Steffen Daode Nurpmeso and an
+initial patch by Victor Stinner in :issue:`9124`.)
turtledemo
----------
More information about the Python-checkins
mailing list