From: Georg Brandl Date: Sat, 31 Jul 2010 22:32:52 +0000 (+0000) Subject: #5146: handle UID THREAD command correctly. X-Git-Tag: v3.2a2~587 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=05245f7487dfd5e35faeabc94e7e1a6fc205247c;p=python #5146: handle UID THREAD command correctly. --- diff --git a/Lib/imaplib.py b/Lib/imaplib.py index ec476572ab..2699fd42bf 100644 --- a/Lib/imaplib.py +++ b/Lib/imaplib.py @@ -765,7 +765,7 @@ class IMAP4: ', '.join(Commands[command]))) name = 'UID' typ, dat = self._simple_command(name, command, *args) - if command in ('SEARCH', 'SORT'): + if command in ('SEARCH', 'SORT', 'THREAD'): name = command else: name = 'FETCH' diff --git a/Misc/NEWS b/Misc/NEWS index 3d9a4b6ecd..fffed33fbe 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -15,6 +15,8 @@ Core and Builtins Library ------- +- Issue #5146: Handle UID THREAD command correctly in imaplib. + - Issue #5147: Fix the header generated for cookie files written by http.cookiejar.MozillaCookieJar.