Message268430
| Author |
barry |
| Recipients |
adrien-saladin, barry, berker.peksag, kxroberto, martin.panter, python-dev, r.david.murray, rhettinger |
| Date |
2016年06月13日.08:19:07 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<20160613111823.591aba77@python.org> |
| In-reply-to |
<1465799900.66.0.664738340138.issue10839@psf.upfronthosting.co.za> |
| Content |
On Jun 13, 2016, at 06:38 AM, Berker Peksag wrote:
>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
I think we just need to plumb a `policy` argument through to the ultimate base
class, email.message.Message |
|