classification
Title: email.Message.get_payload can handle bytes payloads (minor doc fix)
Type: Stage: resolved
Components: Library (Lib) Versions: Python 3.3, Python 3.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: r.david.murray Nosy List: michael.henry, r.david.murray
Priority: normal Keywords:

Created on 2011-03-15 15:20 by michael.henry, last changed 2011-03-15 16:50 by r.david.murray. This issue is now closed.

Messages (2)
msg130982 - (view) Author: Michael Henry (michael.henry) * Date: 2011-03-15 15:20
In email.Message.get_payload, there is the following out-of-date comment:

"""
# payload can be bytes here, (I wonder if that is actually a bug?)
"""

The code can actually handle bytes payloads.
msg130996 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2011-03-15 16:50
Fixed, thanks.
History
Date User Action Args
2011-03-15 16:50:20r.david.murraysetstatus: open -> closed

messages: + msg130996
resolution: fixed
stage: resolved
2011-03-15 16:44:09r.david.murraysetversions: + Python 3.2, Python 3.3
2011-03-15 16:15:18r.david.murraysetassignee: r.david.murray
2011-03-15 15:20:05michael.henrycreate