summaryrefslogtreecommitdiffstats
path: root/Lib/imaplib.py
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2018-07-23 11:28:54 (GMT)
committerVictor Stinner <vstinner@redhat.com>2018-07-23 11:28:54 (GMT)
commitcaa331d492acc67d8f4edd16542cebfabbbe1e79 (patch)
treee9c8422bef72963ee69dc48d9a82deef9e627db3 /Lib/imaplib.py
parent752d4b7531093c55d6f0a5846748f981d79b29d3 (diff)
downloadcpython-caa331d492acc67d8f4edd16542cebfabbbe1e79.zip
cpython-caa331d492acc67d8f4edd16542cebfabbbe1e79.tar.gz
cpython-caa331d492acc67d8f4edd16542cebfabbbe1e79.tar.bz2
bpo-33336, imaplib: Legalize MOVE command (GH-6569)
imaplib now allows MOVE command in IMAP4.uid() (RFC 6851: IMAP MOVE Extension) and potentially as a name of supported method of IMAP4 object.
Diffstat (limited to 'Lib/imaplib.py')
-rw-r--r--Lib/imaplib.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/imaplib.py b/Lib/imaplib.py
index e1cece0..0dfd852 100644
--- a/Lib/imaplib.py
+++ b/Lib/imaplib.py
@@ -79,6 +79,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