New submission from valera <vmasu...@apache.org>:

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
body3

------
This mbox would be splitted in 3 messages instead of 2

----------
components: Library (Lib)
messages: 132657
nosy: wally1980
priority: normal
severity: normal
status: open
title: mbox parser incorrect behaviour
versions: Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 
3.3, Python 3.4

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

Reply via email to