[issue13698] Mailbox module should support other mbox formats in addition to mboxo
endolith
report at bugs.python.org
Sun Apr 29 18:26:41 CEST 2012
endolith <endolith at gmail.com> added the comment:
Ok. I'm not sure what backwards compatibility issues would exist, though.
The only difference is that mboxrd converts
"\nFrom " → "\n>From "
"\n>From " → "\n>>From "
making the conversion reversible, while mboxo does
"\nFrom " → "\n>From "
"\n>From " → "\n>From " (no change)
which is ambiguous, and both get converted back to "\nFrom " when converting back to text, corrupting the original message.
mboxrd is essentially a bugfix for mboxo rather than a fundamentally different format.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13698>
_______________________________________
More information about the Python-bugs-list
mailing list