Skip to content

Conversation

@tiran
Copy link
Member

@tiran tiran commented Sep 7, 2017

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.

Signed-off-by: Christian Heimes [email protected]

https://bugs.python.org/issue31386

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.

Signed-off-by: Christian Heimes <[email protected]>
@tiran tiran added the type-feature A feature request or enhancement label Sep 7, 2017
@tiran tiran merged commit 4df60f1 into python:master Sep 15, 2017
@tiran tiran deleted the bpo-31386-custom-wrap-type branch September 15, 2017 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants