]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-49555: Support international mailbox names in imaplib (GH-153391)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 9 Jul 2026 16:02:56 +0000 (19:02 +0300)
committerGitHub <noreply@github.com>
Thu, 9 Jul 2026 16:02:56 +0000 (19:02 +0300)
commit25bd6eb4372dba6ebb7b3f6ed2ace2395abf83b8
tree7d6290dcc03ce5d805a36fcee0df70261d271853
parenteacb85a2b2ee9212997ab451dc95ec3e7992afc8
gh-49555: Support international mailbox names in imaplib (GH-153391)

Non-ASCII mailbox names are now encoded as modified UTF-7 (RFC 3501,
section 5.1.3), so they can be passed as an ordinary str.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Doc/library/imaplib.rst
Doc/whatsnew/3.16.rst
Lib/imaplib.py
Lib/test/test_imaplib.py
Misc/NEWS.d/next/Library/2026-07-09-12-00-00.gh-issue-49555.Ka9Lm2.rst [new file with mode: 0644]