-
-
Notifications
You must be signed in to change notification settings - Fork 30.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_mboxMMDF.get_string() fails to pass param to get_bytes() #75703
Comments
See: The code should be self.get_bytes(key, from_)).as_string(unixfrom=from_) |
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. |
Ignore msg302569 - that was supposed to be a new issue. |
This seems complete, can it be closed? |
Well, the PR doesn't have a unit test so maybe not. |
Actually, it looks to me like the PR *does* include unittests, and I see them in the repo, so I'm closing this bug. |
Right! |
from_
parameter toget_bytes
#9857Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: