Skip to content

Commit 7868426

Browse files
bpo-33336, imaplib: Legalize MOVE command (pythonGH-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 caa331d) Co-authored-by: Matěj Cepl <mcepl@cepl.eu>
1 parent 46cb5fd commit 7868426

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎Lib/imaplib.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
'LOGIN': ('NONAUTH',),
7171
'LOGOUT': ('NONAUTH', 'AUTH', 'SELECTED', 'LOGOUT'),
7272
'LSUB': ('AUTH', 'SELECTED'),
73+
'MOVE': ('SELECTED',),
7374
'NAMESPACE': ('AUTH', 'SELECTED'),
7475
'NOOP': ('NONAUTH', 'AUTH', 'SELECTED', 'LOGOUT'),
7576
'PARTIAL': ('SELECTED',), # NB: obsolete
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
``imaplib`` now allows ``MOVE`` command in ``IMAP4.uid()`` (RFC
2+
6851: IMAP MOVE Extension) and potentially as a name of supported
3+
method of ``IMAP4`` object.

0 commit comments

Comments
 (0)