Skip to content

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

Open
serhiy-storchaka wants to merge 1 commit into
python:3.13from
serhiy-storchaka:backport-156166-3.13
Open

[3.13] gh-156166: Fix setting and deleting SSLContext._msg_callback (GH-156167)#156175
serhiy-storchaka wants to merge 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)
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