[Python-bugs-list] [ python-Bugs-698706 ] imaplib: parsing INTERNALDATE

SourceForge.net noreply@sourceforge.net
Thu, 06 Mar 2003 05:45:38 -0800


Bugs item #698706, was opened at 2003-03-06 13:45
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=698706&group_id=5470

Category: Python Library
Group: Python 2.2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Konrad Hinsen (hinsen)
Assigned to: Nobody/Anonymous (nobody)
Summary: imaplib: parsing INTERNALDATE

Initial Comment:
The regular expression InternalDate in imaplib does not 
match dates in which the day number is two-digit with a 
leading zero.

>From a cursory glance at the IMAP definition, this is a 
legal format, and there is at least one IMAP server that 
uses it (courier-imap).

The attached patch is for Python 2.2.2, but the problem still 
exists in 2.3a2.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=698706&group_id=5470