[Email-SIG] Append behavior of __setitem__

Barry Warsaw barry at python.org
Fri Apr 10 23:57:17 CEST 2009


So I'm just starting to read RFC 5322 and I'm starting by skimming  
over Appendix A (differences between RFC 5322 and 2822).  I see this:

26.  No multiple occurrences of fields (except resent and received).*

Which i find very interesting, and possibly relevant to the discussion  
about changing the semantics of Message.__setitem__() to not append to  
the list of headers, as well as some of the other semantics of message  
headers (e.g. get_all()).

thinking-out-loud-ly y'rs,
-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 304 bytes
Desc: This is a digitally signed message part
URL: <http://mail.python.org/pipermail/email-sig/attachments/20090410/2058c145/attachment.pgp>


More information about the Email-SIG mailing list