Message282565
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). |
|
Date |
User |
Action |
Args |
2016-12-06 18:36:44 | nemunaire | set | recipients:
+ nemunaire, janssen, pitrou, vstinner, giampaolo.rodola, christian.heimes, alex, dstufft, abarry |
2016-12-06 18:36:44 | nemunaire | set | messageid: <1481049404.59.0.603505964599.issue27629@psf.upfronthosting.co.za> |
2016-12-06 18:36:44 | nemunaire | link | issue27629 messages |
2016-12-06 18:36:44 | nemunaire | create | |
|