[New-bugs-announce] [issue31386] Make return types of wrap_bio and wrap_socket customizable

Christian Heimes report at bugs.python.org
Thu Sep 7 15:15:02 EDT 2017


New submission from Christian Heimes:

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

----------
assignee: christian.heimes
components: SSL
messages: 301615
nosy: christian.heimes
priority: normal
severity: normal
stage: patch review
status: open
title: Make return types of wrap_bio and wrap_socket customizable
type: enhancement
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31386>
_______________________________________


More information about the New-bugs-announce mailing list