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 bpoaugust
Recipients barry, bpoaugust, r.david.murray
Date 2016-12-10.17:35:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1481391336.7.0.180309653101.issue28934@psf.upfronthosting.co.za>
In-reply-to
Content
At present both _mboxMMDF#get_message and get_bytes read the file directly.

However the code in get_bytes duplicates some of the code in get_message. get_message should be recoded to use get_bytes.

It would then be possible to override get_bytes (which is also used by get_string) in order to transform the input stream e.g. to unmangle '>From ' lines.

But in any case it makes sense to reuse the code - DRY
History
Date User Action Args
2016-12-10 17:35:36bpoaugustsetrecipients: + bpoaugust, barry, r.david.murray
2016-12-10 17:35:36bpoaugustsetmessageid: <1481391336.7.0.180309653101.issue28934@psf.upfronthosting.co.za>
2016-12-10 17:35:36bpoaugustlinkissue28934 messages
2016-12-10 17:35:36bpoaugustcreate