From b7317eedc91a4d12d62049c7c18b1b31603e0cf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Mon, 23 Apr 2018 00:41:25 +0200 Subject: [PATCH 1/3] Legalize MOVE command --- Lib/imaplib.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/imaplib.py b/Lib/imaplib.py index 220d6e1bc0a669..2e5511e0241683 100644 --- a/Lib/imaplib.py +++ b/Lib/imaplib.py @@ -70,6 +70,7 @@ 'LOGIN': ('NONAUTH',), 'LOGOUT': ('NONAUTH', 'AUTH', 'SELECTED', 'LOGOUT'), 'LSUB': ('AUTH', 'SELECTED'), + 'MOVE': ('SELECTED',), 'NAMESPACE': ('AUTH', 'SELECTED'), 'NOOP': ('NONAUTH', 'AUTH', 'SELECTED', 'LOGOUT'), 'PARTIAL': ('SELECTED',), # NB: obsolete From bc646ef776bc96600a9651233a05954043abbb42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Fri, 27 Apr 2018 22:18:50 +0200 Subject: [PATCH 2/3] Add an entry to Misc/NEWS.d/. --- .../next/Library/2018-04-27-22-18-38.bpo-33336.T8rxn0.rst | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 Misc/NEWS.d/next/Library/2018-04-27-22-18-38.bpo-33336.T8rxn0.rst diff --git a/Misc/NEWS.d/next/Library/2018-04-27-22-18-38.bpo-33336.T8rxn0.rst b/Misc/NEWS.d/next/Library/2018-04-27-22-18-38.bpo-33336.T8rxn0.rst new file mode 100644 index 00000000000000..858c4421fa7037 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2018-04-27-22-18-38.bpo-33336.T8rxn0.rst @@ -0,0 +1,2 @@ +``imaplib`` now allows ``MOVE`` command in ``IMAP4.uid()`` and potentially +as a name of supported method of ``IMAP4`` object. From 572ec1e8307b70be2aa78a599572b2a5223579a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Thu, 19 Jul 2018 13:50:01 +0200 Subject: [PATCH 3/3] Add mention of RFC 6851 --- .../next/Library/2018-04-27-22-18-38.bpo-33336.T8rxn0.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Misc/NEWS.d/next/Library/2018-04-27-22-18-38.bpo-33336.T8rxn0.rst b/Misc/NEWS.d/next/Library/2018-04-27-22-18-38.bpo-33336.T8rxn0.rst index 858c4421fa7037..d205c68a95afe0 100644 --- a/Misc/NEWS.d/next/Library/2018-04-27-22-18-38.bpo-33336.T8rxn0.rst +++ b/Misc/NEWS.d/next/Library/2018-04-27-22-18-38.bpo-33336.T8rxn0.rst @@ -1,2 +1,3 @@ -``imaplib`` now allows ``MOVE`` command in ``IMAP4.uid()`` and potentially -as a name of supported method of ``IMAP4`` object. +``imaplib`` now allows ``MOVE`` command in ``IMAP4.uid()`` (RFC +6851: IMAP MOVE Extension) and potentially as a name of supported +method of ``IMAP4`` object.