commit | 4df60f18c64ba2835e68bf3eed08d8002a00f4ac | [log] [tgz] |
---|---|---|
author | Christian Heimes <christian@python.org> | Fri Sep 15 20:26:05 2017 +0200 |
committer | GitHub <noreply@github.com> | Fri Sep 15 20:26:05 2017 +0200 |
tree | 560104b248bdd86beb2a283582acf2f2f968d3cd | |
parent | ff702890027f404dbf5faab6730d1169b3251f66 [diff] |
bpo-31386: Custom wrap_bio and wrap_socket type (#3426) 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 <christian@python.org>