New submission from bpoaugust: https://github.com/python/cpython/blob/master/Lib/mailbox.py#L778
The code here reads the first line, but fails to save it as the unixfrom line. Alternatively perhaps it should reset the file back to the start so the message factory has sight of the envelope. The end result is that the envelope is lost. ---------- components: email messages: 302570 nosy: barry, bpoaugust, r.david.murray priority: normal severity: normal status: open title: mailbox._mboxMMDF.get_message throws away From envelope type: behavior versions: Python 3.5, Python 3.6, Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31524> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com