diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-07-23 13:17:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-23 13:17:25 (GMT) |
commit | 112784984784199d54176132edc38ce8c9b007c1 (patch) | |
tree | afdbf9c19b7526f12466e7cd56108bb9034c2cb5 /Lib/imaplib.py | |
parent | 1724c0c984e6406d80d8ebe3bb7b70f23c8b5f45 (diff) | |
download | cpython-112784984784199d54176132edc38ce8c9b007c1.zip cpython-112784984784199d54176132edc38ce8c9b007c1.tar.gz cpython-112784984784199d54176132edc38ce8c9b007c1.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.
(cherry picked from commit caa331d492acc67d8f4edd16542cebfabbbe1e79)
Co-authored-by: Matěj Cepl <mcepl@cepl.eu>
Diffstat (limited to 'Lib/imaplib.py')
-rw-r--r-- | Lib/imaplib.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/imaplib.py b/Lib/imaplib.py index 1c0b03b..700b19b 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 |