Skip to content

Commit caa331d

Browse files
mceplvstinner
authored andcommitted
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.
1 parent 752d4b7 commit caa331d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

‎Lib/imaplib.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
'LOGIN': ('NONAUTH',),
8080
'LOGOUT': ('NONAUTH', 'AUTH', 'SELECTED', 'LOGOUT'),
8181
'LSUB': ('AUTH', 'SELECTED'),
82+
'MOVE': ('SELECTED',),
8283
'NAMESPACE': ('AUTH', 'SELECTED'),
8384
'NOOP': ('NONAUTH', 'AUTH', 'SELECTED', 'LOGOUT'),
8485
'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)