[New-bugs-announce] [issue32975] mailbox: It would be nice to move mailbox.Message from legacy email.message.Message API to new EmailMessage API

Abhilash Raj report at bugs.python.org
Thu Mar 1 00:44:18 EST 2018


New submission from Abhilash Raj <raj.abhilash1 at gmail.com>:

Since Python 3.6 the new EmailMessage API seems to be the default but mailbox.Message still subclasses from the old email.message.Message API.

It would be nice to get EmailMessage from mailbox so that one can rely on the new methods and content managers. Also, while it is possible to  pass a constructor to mailbox.mbox to get the new EmailMessage style message, it is different from mailbox.Message which has some extra methods.

----------
components: email
messages: 313082
nosy: barry, maxking, r.david.murray
priority: normal
severity: normal
status: open
title: mailbox: It would be nice to move mailbox.Message from legacy email.message.Message API to new EmailMessage API
type: enhancement
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32975>
_______________________________________


More information about the New-bugs-announce mailing list