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 <rep...@bugs.python.org> <http://bugs.python.org/issue18324> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com