New submission from Abhilash Raj <raj.abhila...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue32975>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to