]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-126455: Disallow _ssl.SSLSocket instantiation (GH-126481) (#126486)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 6 Nov 2024 11:24:45 +0000 (12:24 +0100)
committerGitHub <noreply@github.com>
Wed, 6 Nov 2024 11:24:45 +0000 (11:24 +0000)
commit6a084b9d60f7c6085a5f7ea28c83c6285451a8ea
tree12903b1e4667bfe63d38be5f308cb2ece8885668
parent4f1584657feb9ff6e22678672fbaf1f5205e8269
[3.13] gh-126455: Disallow _ssl.SSLSocket instantiation (GH-126481) (#126486)

gh-126455: Disallow _ssl.SSLSocket instantiation (GH-126481)

Prevent creation of incomplete/invalid _ssl.SSLSocket objects when
created directly.
(cherry picked from commit b1c4ffc20573befb4db66bbbdd569b9bd13bb127)

Co-authored-by: Victor Stinner <vstinner@python.org>
Modules/_ssl.c