[issue37357] mbox From line wrongly detected

2019-06-21 Thread Andrew Bernard
New submission from Andrew Bernard : When parsing an mbox file, the Python mailbox library is confused by the presence of lines starting with 'From' in the body of the text. A new fragmentary message item is created, but this is wrong. The following sample code and input demonst

[issue37357] mbox From line wrongly detected

2019-06-21 Thread Andrew Bernard
Change by Andrew Bernard : -- resolution: -> not a bug ___ Python tracker <https://bugs.python.org/issue37357> ___ ___ Python-bugs-list mailing list Un

[issue37357] mbox From line wrongly detected

2019-06-21 Thread Andrew Bernard
Andrew Bernard added the comment: Not really a bug. Results from problems with the loose mbix format and lack of standards. Nothing Python can do about it. -- ___ Python tracker <https://bugs.python.org/issue37