Skip to content

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

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

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

Conversation

@serhiy-storchaka

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

Copy link
Copy Markdown
Member

Manual backport of #156167 to 3.14: the test file differs 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 e810e1a into python:3.14 Aug 21, 2026
51 checks passed
@serhiy-storchaka
serhiy-storchaka deleted the backport-156166-3.14 branch August 21, 2026 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant