This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xavierd
Recipients r.david.murray, xavierd
Date 2011-07-07.16:37:21
SpamBayes Score 0.0023081137
Marked as misclassified No
Message-id <1310056642.88.0.39667287194.issue12515@psf.upfronthosting.co.za>
In-reply-to
Content
the function 'email.message_from_file' modifies the message structure when the parsed is invalid (for example, when a closed boudary is missing). The attribute defects is also empty

In the attachment (sample.tgz) you will find:
   - orig.eml : an email with an invalid structure The boundary
"000101020201080900040301" isn't closed
   - after_parsing.eml: same email after calling email.message_from_file()
The boundary is now closed. And the defects attribute is empty
   - test.py: python script to reproduce.
History
Date User Action Args
2011-07-07 16:37:22xavierdsetrecipients: + xavierd, r.david.murray
2011-07-07 16:37:22xavierdsetmessageid: <1310056642.88.0.39667287194.issue12515@psf.upfronthosting.co.za>
2011-07-07 16:37:22xavierdlinkissue12515 messages
2011-07-07 16:37:22xavierdcreate