Skip to content

[3.15] gh-49680: Test imaplib.IMAP4.append line-ending normalization - #152877

Merged
serhiy-storchaka merged 1 commit into
python:3.15from
serhiy-storchaka:imaplib-append-test-315
Jul 2, 2026
Merged

[3.15] gh-49680: Test imaplib.IMAP4.append line-ending normalization#152877
serhiy-storchaka merged 1 commit into
python:3.15from
serhiy-storchaka:imaplib-append-test-315

Conversation

@serhiy-storchaka

Copy link
Copy Markdown
Member

Backport of the APPEND tests from #152775 (gh-49680).

The translate_line_endings feature is main-only, but append()'s default CR/LF normalization is existing behavior on 3.15, so the test (plus the _read_literal helper and the UTF8-append test refactor) applies here.

(cherry picked from commit ddb6539)

(cherry picked from commit ddb6539)
Co-authored-by: harjoth <harjoth.khara@gmail.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@serhiy-storchaka
serhiy-storchaka requested a review from a team as a code ownerJuly 2, 2026 11:28
@bedevere-appbedevere-appBot added the tests Tests in the Lib/test dir label Jul 2, 2026
@serhiy-storchakaserhiy-storchaka added skip news needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes and removed needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Jul 2, 2026
@serhiy-storchaka
serhiy-storchaka enabled auto-merge (squash) July 2, 2026 11:30
@serhiy-storchaka
serhiy-storchaka merged commit 6759fd8 into python:3.15Jul 2, 2026
64 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

@miss-islington-app

Copy link
Copy Markdown

Sorry, @serhiy-storchaka, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 6759fd82117a50c40a0911189eda1c8dfa93ad03 3.13

@bedevere-app

Copy link
Copy Markdown

GH-152878 is a backport of this pull request to the 3.14 branch.

@bedevere-appbedevere-appBot removed the needs backport to 3.14 bugs and security fixes label Jul 2, 2026
serhiy-storchaka added a commit that referenced this pull request Jul 2, 2026
…H-152877) (GH-152878)
(cherry picked from commit ddb6539)
(cherry picked from commit 6759fd8)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: harjoth <harjoth.khara@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@serhiy-storchaka
serhiy-storchaka deleted the imaplib-append-test-315 branch July 2, 2026 12:29
@serhiy-storchakaserhiy-storchaka removed the needs backport to 3.13 bugs and security fixes label Jul 15, 2026
@serhiy-storchakaserhiy-storchaka removed their assignment Jul 15, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip newstestsTests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@serhiy-storchaka