[issue11728] mbox parser incorrect behaviour

2020-11-10 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker ___ _

[issue11728] mbox parser incorrect behaviour

2012-07-03 Thread Petri Lehtinen
Petri Lehtinen added the comment: Some thoughts on doing "clever tricks" to enhance mbox parsing: http://www.jwz.org/doc/content-length.html -- ___ Python tracker ___ _

[issue11728] mbox parser incorrect behaviour

2012-06-24 Thread Petri Lehtinen
Petri Lehtinen added the comment: Actually, you're right. Sorry for overlooking the RFC. But that said, the RFC itself refers to the same manpage as a reference that's "mostly authoritative for those variations that are otherwise only documented in anecdotal form". So I guess it's quite a goo

[issue11728] mbox parser incorrect behaviour

2012-06-24 Thread valera
valera added the comment: Hello Petri Qmail manpage does not sound as a valid reference for me, I've pointed relevant RFC (which dictates correct behaviour) as a reference, python mbox parser does not conform to it. Best regards, Valery Masiutsin On Sun, Jun 24, 2012 at 6:41 PM, Petri Leht

[issue11728] mbox parser incorrect behaviour

2012-06-24 Thread Petri Lehtinen
Petri Lehtinen added the comment: It seems to me that "^From " is the correct way to match the start of each message. This is also what the qmail manual page (linked in the previous message) says. So closing as invalid. -- nosy: +petri.lehtinen resolution: -> invalid stage: test nee

[issue11728] mbox parser incorrect behaviour

2011-06-13 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: Hello Valery Masiutsin, i recently stumbled over this while searching for the link to the standart i've stored in another issue. (Without being logged in, say.) The de-facto standart (http://qmail.org/man/man5/mbox.html) says: HOW A MESSAGE IS READ

[issue11728] mbox parser incorrect behaviour

2011-05-31 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> test needed type: -> behavior versions: -Python 2.5, Python 2.6, Python 3.1 ___ Python tracker ___ ___

[issue11728] mbox parser incorrect behaviour

2011-03-31 Thread valera
valera added the comment: On Thu, 31 Mar 2011 14:13:50 + "R. David Murray" wrote: > > R. David Murray added the comment: > > All the references I could find talk about triggering the match > without the proceeding newline. That is, it is not certain that a > blank line will precede the

[issue11728] mbox parser incorrect behaviour

2011-03-31 Thread R. David Murray
R. David Murray added the comment: All the references I could find talk about triggering the match without the proceeding newline. That is, it is not certain that a blank line will precede the 'From ' header, and the typical quoting rules for mbox format call for any 'From ' at the start of

[issue11728] mbox parser incorrect behaviour

2011-03-31 Thread valera
New submission from valera : mailbox.mbox parser is splitting mbox files by "^From " pattern, which is wrong , in fairy it should split mbox by "\nFrom ". Illustration: -- >From bla-blah@localhost Header1 Header2 body1 body2 >From blah-blah2@localhost Header1 body1 >From your dear friend b