R. David Murray <[email protected]> added the comment:
How are you encountering this error? The following program runs without
exception for me on master:
from email import message_from_binary_file
from email.policy import SMTP
msg = message_from_binary_file(open('mail.eml', 'rb'), policy=SMTP)
print(msg)
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue39100>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com