[issue13698] Mailbox module should support other mbox formats in addition to mboxo

2012-06-25 Thread Petri Lehtinen
Petri Lehtinen added the comment: endolith wrote: > > - 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: >

[issue13698] Mailbox module should support other mbox formats in addition to mboxo

2012-06-25 Thread endolith
endolith added the comment: > - 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 result

[issue13698] Mailbox module should support other mbox formats in addition to mboxo

2012-06-24 Thread Petri Lehtinen
Petri Lehtinen added the comment: The default mode for reading mbox files should also be modified a bit to maximize the support fordifferent implementations. See #11728. I think we should still use the mboxo format by default when writing, and the "default" format of RFC 4155 when reading. We

[issue13698] Mailbox module should support other mbox formats in addition to mboxo

2012-06-21 Thread Petri Lehtinen
Petri Lehtinen 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 h

[issue13698] Mailbox module should support other mbox formats in addition to mboxo

2012-06-21 Thread Petri Lehtinen
Changes by Petri Lehtinen : -- nosy: +petri.lehtinen versions: +Python 3.4 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mai

[issue13698] Mailbox module should support other mbox formats in addition to mboxo

2012-04-29 Thread R. David Murray
R. David Murray added the comment: If that's really the only difference we might indeed be able to treat it as a bug fix. I'd have to look at a proposed patch to be sure. -- ___ Python tracker __

[issue13698] Mailbox module should support other mbox formats in addition to mboxo

2012-04-29 Thread endolith
endolith 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

[issue13698] Mailbox module should support other mbox formats in addition to mboxo

2012-01-02 Thread R. David Murray
R. David Murray added the comment: Well, supporting the other variants would be good (I'll review any proposed patches), but I think the default will have to stay mboxo for backward compatibility reasons (unless the consensus is to go through the warning/deprecation cycle to change it). As a