This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients barry, ezio.melotti, pitrou, r.david.murray
Date 2013-10-20.21:17:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1382303867.94.0.502036019627.issue19280@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-10-20 21:17:47r.david.murraysetrecipients: + r.david.murray, barry, pitrou, ezio.melotti
2013-10-20 21:17:47r.david.murraysetmessageid: <1382303867.94.0.502036019627.issue19280@psf.upfronthosting.co.za>
2013-10-20 21:17:47r.david.murraylinkissue19280 messages
2013-10-20 21:17:47r.david.murraycreate