Message244745
It occurs to me that None would also be a fine default, and probably the smarter choice.
Then wrap_socket could say:
if ssl_version is None:
ssl_version = PROTOCOL_SSLv23
And we could change the default as needed, without being held to the actual value. And wrapper code, like mine, would declare a default of None and things would continue to work across versions. |
|
Date |
User |
Action |
Args |
2015-06-03 13:48:18 | eric.smith | set | recipients:
+ eric.smith, docs@python |
2015-06-03 13:48:18 | eric.smith | set | messageid: <1433339298.69.0.231472669954.issue24372@psf.upfronthosting.co.za> |
2015-06-03 13:48:18 | eric.smith | link | issue24372 messages |
2015-06-03 13:48:18 | eric.smith | create | |
|