Skip to content

[3.13] gh-88574: Skip a spurious blank line after a literal in imaplib (GH-152751)#152886

Merged
serhiy-storchaka merged 1 commit into
python:3.13from
miss-islington:backport-53ff1a2-3.13
Jul 2, 2026
Merged

[3.13] gh-88574: Skip a spurious blank line after a literal in imaplib (GH-152751)#152886
serhiy-storchaka merged 1 commit into
python:3.13from
miss-islington:backport-53ff1a2-3.13

Conversation

@miss-islington

@miss-islington miss-islington commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Some IMAP servers send an extra blank line after the data of a literal.
imaplib mistook it for the response trailer and failed on the next
command. Such a blank line is now skipped.
(cherry picked from commit 53ff1a2)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com
Co-authored-by: Claude Opus 4.8 (1M context) noreply@anthropic.com

…pythonGH-152751)

Some IMAP servers send an extra blank line after the data of a literal.
imaplib mistook it for the response trailer and failed on the next
command.  Such a blank line is now skipped.
(cherry picked from commit 53ff1a2)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@miss-islington miss-islington requested a review from a team as a code owner July 2, 2026 12:56
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) July 2, 2026 13:13
@serhiy-storchaka serhiy-storchaka merged commit 91f64f6 into python:3.13 Jul 2, 2026
41 of 42 checks passed
@miss-islington miss-islington deleted the backport-53ff1a2-3.13 branch July 2, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants