From c60d8c3fe135289a69041280b2047d24246f5c4c 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 e1cece0b283f2b..0dfd8524a53a35 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 45cae4b7ed90844a0854d3a3a3b342307efd2d48 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 2adeacd0b7c6e6795469bf3fc064a0c5d5b8d3cc 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.