This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author akuchling
Recipients
Date 2007-01-22.20:55:04
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
According to qmail's description of the mbox format (http://www.qmail.org/qmail-manual-html/man5/mbox.html),  the 'from' lines shouldn't contain timezone info, but may contain additional information after the date.  So I think a better change is just to add [^\s]*\s* to the end of the pattern.

Note that the docs recommend the PortableUnixMailbox class as preferable for just this reason: there's too much variation in from lines to make the strict parsing useful.

Change committed to trunk in rev. 53519, and to release25-maint in rev. 53521.  Thanks for your report!


History
Date User Action Args
2007-08-23 14:51:13adminlinkissue1633678 messages
2007-08-23 14:51:13admincreate