diff --git a/Lib/imaplib.py b/Lib/imaplib.py index 220d6e1bc0a..2e5511e0241 100644 --- a/Lib/imaplib.py +++ b/Lib/imaplib.py @@ -70,6 +70,7 @@ Commands = { 'LOGIN': ('NONAUTH',), 'LOGOUT': ('NONAUTH', 'AUTH', 'SELECTED', 'LOGOUT'), 'LSUB': ('AUTH', 'SELECTED'), + 'MOVE': ('SELECTED',), 'NAMESPACE': ('AUTH', 'SELECTED'), 'NOOP': ('NONAUTH', 'AUTH', 'SELECTED', 'LOGOUT'), 'PARTIAL': ('SELECTED',), # NB: obsolete 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 00000000000..d205c68a95a --- /dev/null +++ b/Misc/NEWS.d/next/Library/2018-04-27-22-18-38.bpo-33336.T8rxn0.rst @@ -0,0 +1,3 @@ +``imaplib`` now allows ``MOVE`` command in ``IMAP4.uid()`` (RFC +6851: IMAP MOVE Extension) and potentially as a name of supported +method of ``IMAP4`` object.