[issue31727] FTP_TLS errors when use certain subcommands

2018-04-27 Thread Matthieu Pepin
Matthieu Pepin added the comment: I can confirm. I'm having the exact same issue in Python 3.6.5. -- nosy: +Matthieu Pepin ___ Python tracker <https://bugs.python.org/is

[issue25640] Message.is_attachment() throws exception

2015-11-16 Thread Matthieu Pepin
New submission from Matthieu Pepin: Message.is_attachment() throws the exception below: File "/usr/lib/python3.5/email/message.py", line 956, in is_attachment return False if c_d is None else c_d.content_disposition == 'attachment' AttributeError: 'str

[issue25640] Message.is_attachment() throws exception

2015-11-16 Thread Matthieu Pepin
Matthieu Pepin added the comment: Ok I think the bug is not where I thought. First, my workaround does not work. Second, I use the following to generate my Message: message_from_string(s, _class=EmailMessage) Maybe the bug is in the parser

[issue25640] Message.is_attachment() throws exception

2015-11-16 Thread Matthieu Pepin
Matthieu Pepin added the comment: Yes, I will make a small reproducer. -- ___ Python tracker <http://bugs.python.org/issue25640> ___ ___ Python-bugs-list mailin