rfc822.Message mapping interface

A Meowbot meowbot at meowing.net
Tue May 22 21:37:23 EDT 2001


[Hm, this made it to python-list but not the newsgroup. Odd.]

barry at digicool.com (Barry A. Warsaw) wrote:
> I think it's just that the docs need updating.

*whew*

> If you're doing MIME, please check out http://sf.net/projects/mimelib
> for a candidate of a next generation replacement for mimetools,
> rfc822, MIMEWriter, etc.  I've got a small backlog of updates to the
> code there that I'll try to check in shortly.

Oo, shiny, and items() does the Right Thing this time around!  Only
had a couple hours to play with this as yet, but it sure looks like it
does a nice job of avenging the sins of the current message handlers.

FWIW, this is a message filter embedded in a C program and I'm trying
to make it easy for the user to take advantage of Python's stock
Message-like objects.

It looks like since the rfc822 and mimelib Message objects do both
parse file-like objects and return compatible items() lists, the user
can work from either module family and have everything Just Work.  I
like.

Thanks Barry and Fred for the clarification and new toy.



More information about the Python-list mailing list