[Python-Dev] Mailbox module - timings and functionality changes

Steve Holden steve at holdenweb.com
Wed Jun 30 14:42:05 CEST 2010


R. David Murray wrote:
> On Tue, 29 Jun 2010 17:02:14 -0400, Steve Holden <steve at holdenweb.com> wrote:
>> Guido van Rossum wrote:
>>
>>> - wrap the binary stream in a text stream
>> "wrap" how? The ultimate destiny of the text is twofold:
> 
> I would imagine Guido is talking about an io.TextIOWrapper...in other
> words, take the binary file you've just finished grabbing info
> from, and reread it as a text file in order to grab the actual
> message content.
> 
> If you have messages in your files that are using an 8bit content
> transfer encoding, then you (currently) will have some problems
> unless the charset happens to be the one you use when you wrap
> the binary stream as a text stream.
> 
http://bugs.python.org/issue9124

regards
 Steve
-- 
Steve Holden           +1 571 484 6266   +1 800 494 3119
DjangoCon US September 7-9, 2010    http://djangocon.us/
See Python Video!       http://python.mirocommunity.org/
Holden Web LLC                 http://www.holdenweb.com/



More information about the Python-Dev mailing list