Skip to content

[3.13] gh-160369: Discard cached responses after IMAP STARTTLS (GH-160370) - #161759

Open
JelleZijlstra wants to merge 1 commit into
python:3.13from
JelleZijlstra:codex/backport-160370-3.13
Open

JelleZijlstra wants to merge 1 commit into
python:3.13from
JelleZijlstra:codex/backport-160370-3.13

Conversation

@JelleZijlstra

@JelleZijlstra JelleZijlstra commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

Backport of gh-160370 to 3.13.

Clear cached untagged responses when upgrading to TLS. This branch uses a buffered file that is replaced during STARTTLS, so the main-branch _readbuf check does not apply. Preserve the STARTTLS integration coverage and adjust the NEWS entry accordingly.

…n#160370)

Co-authored-by: Seth Michael Larson <seth@python.org>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
(cherry picked from commit 2f0e294)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant