Re: META: Truncation of posts in BBS

From: Max M (maxmcorp@worldonline.dk)
Date: Wed Jan 08 2003 - 04:35:48 MST


David McFadzean wrote:

> My message import code makes use of the python email package to parse the
> message. There appears to be a bug in email.Message.walk(). Are there python
> gurus out there that can help fix it?

"From " is the message seperator in a mailbox file. If a "From " gets
inserted at the start of a line, the email package apparently thinks
that it is a new message header.

This could be a bug, which I find unlikely as the Python standard
library is usually very well tested, and this seems to obvious.

But if you cannot get the code to work you can go here:

"
The email package for Python
http://mimelib.sourceforge.net/

For submitting bugs and patches, please see the mimelib project at
SourceForge. Note that mimelib was the original name of this package.
It's also fine to submit bugs and patches on the Python project. If you
do, please assign them to Barry Warsaw.
"

regards Max M

-- 
hilsen/regards Max M
http://www.futureport.dk/
Fremtiden, videnskab, skeptiscisme og transhumanisme


This archive was generated by hypermail 2.1.5 : Wed Jan 15 2003 - 17:35:50 MST