This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Unsupported provider

classification
Title: email.Message.get_payload can handle bytes payloads (minor doc fix)
Type: Stage: resolved
Components: Library (Lib) Versions: Python 3.2, Python 3.3
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 2022-04-11 14:57 by admin. 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
2022-04-11 14:57:14adminsetgithub: 55765
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