Skip to content

[3.13] gh-156166: Fix setting and deleting SSLContext._msg_callback (GH-156167) - #156175

Merged
serhiy-storchaka merged 1 commit into
python:3.13from
serhiy-storchaka:backport-156166-3.13
Aug 21, 2026
Merged

serhiy-storchaka merged 1 commit into
python:3.13from
serhiy-storchaka:backport-156166-3.13

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Aug 21, 2026 •

Copy link
Copy Markdown
Member

Manual backport of #156167 to 3.13: the setter has a different signature there, so the cherry-pick did not apply cleanly.

…ythonGH-156167)

The setter released the old callback before validating the new value,
so a failed assignment or a deletion removed it.

(cherry picked from commit 67f4d53)
@serhiy-storchaka
serhiy-storchaka merged commit 3d937eb into python:3.13 Aug 21, 2026
44 checks passed
@serhiy-storchaka
serhiy-storchaka deleted the backport-156166-3.13 branch August 21, 2026 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant