Author berker.peksag
Recipients adrien-saladin, barry, berker.peksag, kxroberto, martin.panter, python-dev, r.david.murray, rhettinger
Date 2016-06-13.06:38:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465799900.66.0.664738340138.issue10839@psf.upfronthosting.co.za>
In-reply-to
Content
I don't think a new API is needed. But we need to promote the policy keyword better in docs. See https://twitter.com/aksiksi/status/741769504817045508 for an example of confusion.

I don't know if it's a good idea or API but can we add a 'policy' keyword argument to email.mime.base.MIMEBase? Right now, this is the only way to change the default policy without using high level functions like email.message_from_string():

    m = MIMEMultipart()
    m.policy = email.policy.default
History
Date User Action Args
2016-06-13 06:38:20berker.peksagsetrecipients: + berker.peksag, barry, rhettinger, kxroberto, r.david.murray, adrien-saladin, python-dev, martin.panter
2016-06-13 06:38:20berker.peksagsetmessageid: <1465799900.66.0.664738340138.issue10839@psf.upfronthosting.co.za>
2016-06-13 06:38:20berker.peksaglinkissue10839 messages
2016-06-13 06:38:20berker.peksagcreate