Message275739
Leaving the option of context caching entirely to the caller would definitely make things simpler - my main interest is just in avoiding a hard compatibility break for folks that aren't doing anything particularly wrong, by which I mean specifically cases where a wrap_socket() implementation like this one would continue to work for them:
def wrap_socket(sock, *args, *kwds):
return ssl.get_default_context().wrap_socket(sock, *args, **kwds) |
|
Date |
User |
Action |
Args |
2016-09-11 07:43:41 | ncoghlan | set | recipients:
+ ncoghlan, janssen, orsenthil, vstinner, giampaolo.rodola, christian.heimes, alex, python-dev, martin.panter, dstufft, Lukasa |
2016-09-11 07:43:41 | ncoghlan | set | messageid: <1473579821.8.0.516244404663.issue28022@psf.upfronthosting.co.za> |
2016-09-11 07:43:41 | ncoghlan | link | issue28022 messages |
2016-09-11 07:43:41 | ncoghlan | create | |
|