[issue31522] mailbox._mboxMMDF.get_message throws away From envelope
bpoaugust
report at bugs.python.org
Tue Sep 19 19:25:41 EDT 2017
bpoaugust added the comment:
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.
----------
title: _mboxMMDF.get_string() fails to pass param to get_bytes() -> mailbox._mboxMMDF.get_message throws away From envelope
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31522>
_______________________________________
More information about the Python-bugs-list
mailing list