[New-bugs-announce] [issue11556] email.Message.get_payload can handle bytes payloads (minor doc fix)

Michael Henry report at bugs.python.org
Tue Mar 15 16:20:06 CET 2011


New submission from Michael Henry <python at drmikehenry.com>:

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.

----------
components: Library (Lib)
messages: 130982
nosy: michael.henry, r.david.murray
priority: normal
severity: normal
status: open
title: email.Message.get_payload can handle bytes payloads (minor doc fix)

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11556>
_______________________________________


More information about the New-bugs-announce mailing list