New submission from R. David Murray: In the right (wrong) circumstances the iter_attachments function may mutate the payload list. The fix is simple (make a copy before operating on it). Attached is a patch with test.
---------- files: iter_attachments_mutation.patch keywords: patch messages: 274700 nosy: r.david.murray priority: normal severity: normal stage: commit review status: open title: email iter_attachments can mutate the payload type: behavior versions: Python 3.5, Python 3.6 Added file: http://bugs.python.org/file44417/iter_attachments_mutation.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27988> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com