[issue16564] email.generator.BytesGenerator fails with bytes payload

R. David Murray report at bugs.python.org
Tue Nov 27 15:54:15 CET 2012


R. David Murray added the comment:

Hmm.  Let me rephrase that.  *Internally* it doesn't support bytes payloads, it "encodes" bytes payloads as surrogateescaped ascii, as you have oserved.  Which is why this is on the borderline, and could possibly be considered a bug fix, because from an external point of view it does support parsing and generating 8bit payloads.

I need to give it some thought, and perhaps others will weigh in with opinions.

----------

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


More information about the Python-bugs-list mailing list