Issue 31386: Make return types of wrap_bio and wrap_socket customizable (original) (raw)

Issue31386

Created on 2017-09-07 19:15 by christian.heimes, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 3426 merged christian.heimes,2017-09-07 19:26
Messages (2)
msg301615 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2017-09-07 19:15
SSLSocket.wrap_bio() and SSLSocket.wrap_socket() hard-code SSLObject and SSLSocket as return types. In the light of future deprecation of ssl.wrap_socket() module function and direct instantiation of SSLSocket, it is desirable to make the return type of SSLSocket.wrap_bio() and SSLSocket.wrap_socket() customizable. Also see #27629
msg302285 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2017-09-15 18:26
New changeset 4df60f18c64ba2835e68bf3eed08d8002a00f4ac by Christian Heimes in branch 'master': bpo-31386: Custom wrap_bio and wrap_socket type (#3426) https://github.com/python/cpython/commit/4df60f18c64ba2835e68bf3eed08d8002a00f4ac
History
Date User Action Args
2022-04-11 14:58:52 admin set github: 75567
2017-09-17 14:35:52 christian.heimes set status: open -> closedresolution: fixedstage: patch review -> resolved
2017-09-15 18:26:07 christian.heimes set messages: +
2017-09-07 19:26:46 christian.heimes set pull_requests: + <pull%5Frequest3423>
2017-09-07 19:15:14 christian.heimes set superseder: Cannot create ssl.SSLSocket without existing socket
2017-09-07 19:15:02 christian.heimes create