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 pitrou
Recipients barry, pitrou, r.david.murray
Date 2013-10-18.14:45:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1382107516.65.0.354104363295.issue19280@psf.upfronthosting.co.za>
In-reply-to
Content
I don't know much about the email module, but FWIW I think str subclasses (or any subclass of built-in types) are a delicate thing to expose in an API. I think a namedtuple would be the more idiomatic choice here (perhaps with an appropriate __str__ for convenient conversion / %-formatting / {}-formatting).
History
Date User Action Args
2013-10-18 14:45:16pitrousetrecipients: + pitrou, barry, r.david.murray
2013-10-18 14:45:16pitrousetmessageid: <1382107516.65.0.354104363295.issue19280@psf.upfronthosting.co.za>
2013-10-18 14:45:16pitroulinkissue19280 messages
2013-10-18 14:45:16pitroucreate