[issue33972] AttributeError in email.message.iter_attachments()

2021-01-11 Thread Irit Katriel
Irit Katriel added the comment: Xavier, I think it would be best if you could open a new issue for that, and also include code to reproduce the problem. -- ___ Python tracker

[issue33972] AttributeError in email.message.iter_attachments()

2021-01-11 Thread Xavier Hausherr
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/cpython/blob/3.9/Lib/email/message.py#L978

[issue33972] AttributeError in email.message.iter_attachments()

2020-10-19 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Thank you all for the fix. Closing. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33972] AttributeError in email.message.iter_attachments()

2020-10-10 Thread Irit Katriel
Irit Katriel added the comment: This seems complete, can it be closed? -- nosy: +iritkatriel ___ Python tracker ___ ___

[issue33972] AttributeError in email.message.iter_attachments()

2019-06-25 Thread miss-islington
miss-islington added the comment: New changeset 01b23948038d35b119cededd149110231ecce00d by Miss Islington (bot) (Abhilash Raj) in branch '3.7': [3.7] bpo-33972: Fix EmailMessage.iter_attachments raising AttributeError. (GH-14119) (GH-14381)

[issue33972] AttributeError in email.message.iter_attachments()

2019-06-25 Thread miss-islington
miss-islington added the comment: New changeset c6e32824cf038386174fe2b9e7273e4779c9958c by Miss Islington (bot) (Abhilash Raj) in branch '3.8': [3.8] bpo-33972: Fix EmailMessage.iter_attachments raising AttributeError (GH-14119) (GH-14380)

[issue33972] AttributeError in email.message.iter_attachments()

2019-06-25 Thread Abhilash Raj
Change by Abhilash Raj : -- pull_requests: +14195 pull_request: https://github.com/python/cpython/pull/14381 ___ Python tracker ___

[issue33972] AttributeError in email.message.iter_attachments()

2019-06-25 Thread Abhilash Raj
Change by Abhilash Raj : -- pull_requests: +14194 pull_request: https://github.com/python/cpython/pull/14380 ___ Python tracker ___

[issue33972] AttributeError in email.message.iter_attachments()

2019-06-25 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: New changeset 02257012f6d3821d816cb6a7e8461a88a05b9a08 by Barry Warsaw (Abhilash Raj) in branch 'master': bpo-33972: Fix EmailMessage.iter_attachments raising AttributeError. (GH-14119)

[issue33972] AttributeError in email.message.iter_attachments()

2019-06-15 Thread Abhilash Raj
Change by Abhilash Raj : -- pull_requests: +13968 pull_request: https://github.com/python/cpython/pull/14119 ___ Python tracker ___

[issue33972] AttributeError in email.message.iter_attachments()

2018-07-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- type: crash -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33972] AttributeError in email.message.iter_attachments()

2018-07-01 Thread Bradley Laney
Bradley Laney added the comment: Hey Sven, New here, decided to try a bit at an issue. According to the email.message docs, "the payload is either a string or bytes object, in the case of simple message objects, or a list of EmailMessage objects, for MIME container documents such as

[issue33972] AttributeError in email.message.iter_attachments()

2018-07-01 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +7650 stage: -> patch review ___ Python tracker ___ ___

[issue33972] AttributeError in email.message.iter_attachments()

2018-06-26 Thread Sven Krohlas
New submission from Sven Krohlas : Hello everyone, Today I stumbled over unexpected behaviour when parsing emails with Python 3.5. mail is of type: Traceback (most recent call last): File "XXX", line YYY, in ZZZ for attachment in mail.iter_attachments(): File