[issue31727] FTP_TLS errors when use certain subcommands
Matthieu Pepin <matthieupe...@gmail.com> added the comment: I can confirm. I'm having the exact same issue in Python 3.6.5. -- nosy: +Matthieu Pepin ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31727> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue25640] Message.is_attachment() throws exception
Matthieu Pepin added the comment: Yes, I will make a small reproducer. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25640> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue25640] Message.is_attachment() throws exception
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' object has no attribute 'content_disposition' It seems to work fine for me with: return c_d == 'attachment' -- components: email messages: 254757 nosy: Matthieu Pepin, barry, r.david.murray priority: normal severity: normal status: open title: Message.is_attachment() throws exception type: crash versions: Python 3.5 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25640> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue25640] Message.is_attachment() throws exception
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? -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25640> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com