Message200638
Well, it's about backward compatibility, and the email module already uses str subclasses for headers in the new code, for backward compatibility reasons. I hope this does not prove fragile in practice, but I have no way of knowing for sure, of course.
It occurs to me, however, that the (new) content-type header's value already has the maintype/subtype attributes, so there's really no need to change the return type of the get_content_type method.
For internal use...a named tuple is not adequate, since I need to preserve the original case of the values. |
|
Date |
User |
Action |
Args |
2013-10-20 21:17:47 | r.david.murray | set | recipients:
+ r.david.murray, barry, pitrou, ezio.melotti |
2013-10-20 21:17:47 | r.david.murray | set | messageid: <1382303867.94.0.502036019627.issue19280@psf.upfronthosting.co.za> |
2013-10-20 21:17:47 | r.david.murray | link | issue19280 messages |
2013-10-20 21:17:47 | r.david.murray | create | |
|