homepage

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 endolith
Recipients barry, endolith, petri.lehtinen, r.david.murray
Date 2012年06月25日.14:44:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340635495.1.0.488099254513.issue13698@psf.upfronthosting.co.za>
In-reply-to
Content
> - If the mailbox is written using the mboxrd format and read using the mboxo format, lines that were meant to start with ">From " are changed to ">>From ". This is a new type of corruption.
Well, yes. So the choices are:
mboxrd as default: Sometimes results in corruption
mboxo as default: Always results in corruption
Is there a way to reliably detect the format of the file and produce an error if it seems to be reading it wrong?
If not, maybe just include a function that guesses the format so the correct option can be found easily? If there are consecutive ">" quoted lines, like this, for instance:
>This is the body.
>>From my point of view
>there are 3 lines.
then it was probably encoded with mboxrd? If instead you find:
>This is the body.
>From my point of view
>there are 3 lines.
then it was probably encoded with mboxo?
History
Date User Action Args
2012年06月25日 14:44:55endolithsetrecipients: + endolith, barry, r.david.murray, petri.lehtinen
2012年06月25日 14:44:55endolithsetmessageid: <1340635495.1.0.488099254513.issue13698@psf.upfronthosting.co.za>
2012年06月25日 14:44:54endolithlinkissue13698 messages
2012年06月25日 14:44:54endolithcreate

AltStyle によって変換されたページ (->オリジナル) /