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 pitrou
Recipients pitrou, vstinner
Date 2011-05-06.10:10:29
SpamBayes Score 0.00020440579
Marked as misclassified No
Message-id <1304676639.72.0.586098065332.issue12012@psf.upfronthosting.co.za>
In-reply-to
Content
Does this happen with a released build of OpenSSL? The Debian bug talks about experimental.

+try:
+    from _ssl import PROTOCOL_SSLv2
+    OPENSSL_NO_SSL2 = False
+except ImportError:
+    OPENSSL_NO_SSL2 = True

Please avoid "negative" constants. Calling it HAS_SSLv2 would be fine.

Also, there should be some doc update mentioning that PROTOCOL_SSLv2 is not always present.
History
Date User Action Args
2011-05-06 10:10:39pitrousetrecipients: + pitrou, vstinner
2011-05-06 10:10:39pitrousetmessageid: <1304676639.72.0.586098065332.issue12012@psf.upfronthosting.co.za>
2011-05-06 10:10:29pitroulinkissue12012 messages
2011-05-06 10:10:29pitroucreate