Message282565
| Author |
nemunaire |
| Recipients |
abarry, alex, christian.heimes, dstufft, giampaolo.rodola, janssen, nemunaire, pitrou, vstinner |
| Date |
2016-12-06.18:36:43 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1481049404.59.0.603505964599.issue27629@psf.upfronthosting.co.za> |
| In-reply-to |
|
| Content |
The documentation already recommends to use SSLContext.wrap_socket(), but it didn't cover all use cases. Eg. I use multiple inheritance to handle both socket and SSLSocket inside a factory pattern, in order to override some methods defined in both classes. If I use SSLContext.wrap_socket(), it erases my overrides.
As the patch add some tests on this feature, this is no more dead code; however I let you decide the future of this issue: I've updated my patch with your remarks if you want to include it (it applies from Python 3.3 to current Python 3.6). |
|