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 brandon-rhodes
Recipients barry, brandon-rhodes, r.david.murray
Date 2014-03-27.17:47:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1395942426.24.0.241913646613.issue21079@psf.upfronthosting.co.za>
In-reply-to
Content
Given that methods like get_param() already exist for pulling data out of
the right-hand-side of the ';' in a parameterized email header, would it
be amiss for EmailMessage to also have a method that either returns
everything to the left of the semicolon, or returns something like:

('attachment', [('filename', 'example.txt')])

thus doing all the parsing in one place that everything else can then
steadily rely upon, including users that want to pull the parsed values
for their own inspection?
History
Date User Action Args
2014-03-27 17:47:06brandon-rhodessetrecipients: + brandon-rhodes, barry, r.david.murray
2014-03-27 17:47:06brandon-rhodessetmessageid: <1395942426.24.0.241913646613.issue21079@psf.upfronthosting.co.za>
2014-03-27 17:47:06brandon-rhodeslinkissue21079 messages
2014-03-27 17:47:05brandon-rhodescreate