From 50dad394098e13cbd0374c501154d32a0f365f59 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 1c0b03bff8a379..700b19bbc5afe6 100644 --- a/Lib/imaplib.py +++ b/Lib/imaplib.py @@ -79,6 +79,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 928db02915a0e24506c242a769db4574fa4d2040 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 b5799525f9db553cd76eff94fd43ff420ca6ef44 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.