Xavier Hausherr added the comment:
The problem still occurs with the _find_body
method. The "part.is_attachment()" method can trigger an AttributeError too
"AttributeError: 'str' object has no attribute 'is_attachment'"
https://github.com/python/cp
New submission from Xavier Hausherr :
Following this issue: https://bugs.python.org/issue33972
Same bug apply to email.message.get_body() with attached email example and the
following code:
from email.policy import default
import email
with open
Xavier Hausherr added the comment:
Attached PR fix the issue.
--
___
Python tracker
<https://bugs.python.org/issue42892>
___
___
Python-bugs-list mailin