[issue1672568] silent error in email.message.Message.get_payload

R. David Murray report at bugs.python.org
Sun May 27 22:37:56 CEST 2012


R. David Murray <rdmurray at bitdance.com> added the comment:

OK, here is patch based on the new policy support in 3.3.  I have some concern that the behavior change it introduces might cause some issues, but since it seems like a reasonable change and is happening at a feature release boundary, I think it should be OK.

The behavior change is that now by default get_payload will always produce *some* kind of decoding of a base64 part, and will register defects if it finds padding errors or characters outside the base64 character set.

----------
keywords: +patch
Added file: http://bugs.python.org/file25737/base64_payload_defects.patch

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


More information about the Python-bugs-list mailing list