Message117857
In case it isn't clear, the code patch is now complete, so anyone who wants to give it a review, please do. I'll add the docs soon, but the basic idea is you can put bytes in by either using message_from_bytes or by using the 'ascii' codec and the 'surrogateescape' error handler on a file passed to msg_from_file, and you can get bytes out by using BytesGenerator and passing it a file-like object that accepts bytes. As a side benefit, Generator will correctly render (as unicode) the content of a section with a ContentTransferEncoding of '8bit'. |
|
Date |
User |
Action |
Args |
2010-10-02 02:37:31 | r.david.murray | set | recipients:
+ r.david.murray, barry, pitrou, vstinner, dato, tercero12, Alex Quinn, meatballhat |
2010-10-02 02:37:31 | r.david.murray | set | messageid: <1285987051.38.0.71481025789.issue4661@psf.upfronthosting.co.za> |
2010-10-02 02:37:30 | r.david.murray | link | issue4661 messages |
2010-10-02 02:37:29 | r.david.murray | create | |
|