[New-bugs-announce] [issue31524] mailbox._mboxMMDF.get_message throws away From envelope

bpoaugust report at bugs.python.org
Tue Sep 19 19:27:27 EDT 2017


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 <report at bugs.python.org>
<https://bugs.python.org/issue31524>
_______________________________________


More information about the New-bugs-announce mailing list