Skip to content

gh-77508: Add imaplib.IMAP4.move method - #153121

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:imaplib-move
Jul 5, 2026
Merged

serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:imaplib-move

Conversation

@serhiy-storchaka

Copy link
Copy Markdown
Member

Add a wrapper for the IMAP MOVE command (RFC 6851), analogous to copy(). The arguments of MOVE and UID MOVE are quoted when necessary.

No client-side fallback to COPY/STORE/EXPUNGE for servers without the MOVE capability: imaplib is a thin protocol layer, and silently issuing different commands than asked would be wrong at this level. Supersedes GH-19072.

🤖 Generated with Claude Code

Add a wrapper for the IMAP MOVE command (RFC 6851), analogous to
copy().  The arguments of MOVE and UID MOVE are quoted when necessary.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33446520 | 📁 Comparing 2fcd5ac against main (3d9d6c8)

  🔍 Preview build  

3 files changed
± library/imaplib.html
± whatsnew/3.16.html
± whatsnew/changelog.html
@serhiy-storchaka
serhiy-storchaka merged commit 89afed2 into python:main Jul 5, 2026
49 checks passed
@serhiy-storchaka
serhiy-storchaka deleted the imaplib-move branch July 5, 2026 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant