[New-bugs-announce] [issue18324] set_payload does not handle binary payloads correctly

R. David Murray report at bugs.python.org
Fri Jun 28 21:16:22 CEST 2013


New submission from R. David Murray:

In order to maintain model consistency without exposing the need for 'surrogateescape' to library users, it should be possible to pass binary data to set_payload and have it do the correct conversion to the expected storage format for the model.  Currently, this does not work.  The attached patch provides one example test out of a class of tests that should be written and made to pass.

----------
components: email
files: set_qp_payload_test.patch
keywords: easy, patch
messages: 192012
nosy: barry, r.david.murray
priority: normal
severity: normal
stage: test needed
status: open
title: set_payload does not handle binary payloads correctly
type: behavior
versions: Python 3.3, Python 3.4
Added file: http://bugs.python.org/file30726/set_qp_payload_test.patch

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


More information about the New-bugs-announce mailing list