Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 05245f7

Browse files
committed
#5146: handle UID THREAD command correctly.
1 parent 87a1564 commit 05245f7

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Lib/imaplib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ def uid(self, command, *args):
765765
', '.join(Commands[command])))
766766
name = 'UID'
767767
typ, dat = self._simple_command(name, command, *args)
768-
if command in ('SEARCH', 'SORT'):
768+
if command in ('SEARCH', 'SORT', 'THREAD'):
769769
name = command
770770
else:
771771
name = 'FETCH'

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Core and Builtins
1515
Library
1616
-------
1717

18+
- Issue #5146: Handle UID THREAD command correctly in imaplib.
19+
1820
- Issue #5147: Fix the header generated for cookie files written by
1921
http.cookiejar.MozillaCookieJar.
2022

0 commit comments

Comments
 (0)