[Email-SIG] rfc822 parser (the elephant has landed)

Barry Warsaw barry at python.org
Fri Jun 10 22:49:05 CEST 2011


On Jun 10, 2011, at 09:58 AM, R. David Murray wrote:

>If you combine the last two ideas, we could have a carefully defined
>API for controlling how __setitem__ works using attributes on the
>header classes.
>
>Totally crazy?  Crazy-smart?

Could be!

>How about a validate function that takes a message and a policy?
>That would be parallel to generator.  In fact, it might share some code
>with generator.

Smart minds think alike.

-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/email-sig/attachments/20110610/b149a5ff/attachment.pgp>


More information about the Email-SIG mailing list