[Python-checkins] commit of r41547 - python/branches/release24-maint/Lib

reinhold.birkenfeld@python.org reinhold.birkenfeld at python.org
Sat Nov 26 17:32:44 CET 2005


Author: reinhold.birkenfeld
Date: Sat Nov 26 17:32:36 2005
New Revision: 41547

Modified:
   python/branches/release24-maint/Lib/imaplib.py
Log:
Bug #698706: imaplib parsing INTERNALDATE backport



Modified: python/branches/release24-maint/Lib/imaplib.py
==============================================================================
--- python/branches/release24-maint/Lib/imaplib.py	(original)
+++ python/branches/release24-maint/Lib/imaplib.py	Sat Nov 26 17:32:36 2005
@@ -81,7 +81,7 @@
 Continuation = re.compile(r'\+( (?P<data>.*))?')
 Flags = re.compile(r'.*FLAGS \((?P<flags>[^\)]*)\)')
 InternalDate = re.compile(r'.*INTERNALDATE "'
-        r'(?P<day>[ 123][0-9])-(?P<mon>[A-Z][a-z][a-z])-(?P<year>[0-9][0-9][0-9][0-9])'
+        r'(?P<day>[ 0123][0-9])-(?P<mon>[A-Z][a-z][a-z])-(?P<year>[0-9][0-9][0-9][0-9])'
         r' (?P<hour>[0-9][0-9]):(?P<min>[0-9][0-9]):(?P<sec>[0-9][0-9])'
         r' (?P<zonen>[-+])(?P<zoneh>[0-9][0-9])(?P<zonem>[0-9][0-9])'
         r'"')


More information about the Python-checkins mailing list