This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients docs@python, eric.smith
Date 2015-06-03.13:48:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:18eric.smithsetrecipients: + eric.smith, docs@python
2015-06-03 13:48:18eric.smithsetmessageid: <>
2015-06-03 13:48:18eric.smithlinkissue24372 messages
2015-06-03 13:48:18eric.smithcreate