Petri Lehtinen <pe...@digip.org> added the comment:

I'm a little concerned about backwards compatibility. Someone might get upset 
if extra >'s start appearing in the messages when they read the mailbox 
contents with an application that uses the mboxo format.

A little analysis on the possible corruptions that happen with these formats:

- When the mailbox is both read and written using the mboxo format, lines 
starting with "From " are changed to ">From ".

- When the mailbox is both read and written using the mboxrd format, no 
corruption happens.

- If the mailbox is written using the mboxo format and read using the mboxrd 
format, lines that were meant to start with ">From " are changed to "From ". So 
we essentially get a sligthly different corruption.

- 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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13698>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to