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 Sharebear, barry, christian.heimes, cjw296, georg.brandl, loewis, r.david.murray
Date 2010-12-28.04:56:22
SpamBayes Score 8.759217e-05
Marked as misclassified No
Message-id <1293512183.72.0.0494000953458.issue1823@psf.upfronthosting.co.za>
In-reply-to
Content
As far as I can tell it is simply wrong per-RFC to put a charset parameter on a mulitpart content-type.  So I think this should, indeed, raise an error on the Multipart subtype.

If someone sets any charset, the CTE is set wrong.  So code that sets charset is already broken, even though tolerant mailers will accept the resulting message (but some mailers won't, as described in this issue).

So, I think set_charset on MIMEMultipart should be deprecated and turned into a no-op in 3.2.
History
Date User Action Args
2010-12-28 04:56:23r.david.murraysetrecipients: + r.david.murray, loewis, barry, georg.brandl, christian.heimes, cjw296, Sharebear
2010-12-28 04:56:23r.david.murraysetmessageid: <1293512183.72.0.0494000953458.issue1823@psf.upfronthosting.co.za>
2010-12-28 04:56:22r.david.murraylinkissue1823 messages
2010-12-28 04:56:22r.david.murraycreate