Issue #2013 resolved
Per this gist:
Python 2.7.9 (9c4588d731b7, Mar 23 2015, 20:00:36) [PyPy 2.5.1 with MSC v.1500 32 bit] on win32 Type "help", "copyright", "credits" or "license" for more information. >>>> import ssl >>>> ssl.OPENSSL_VERSION 'OpenSSL 1.0.1i 6 Aug 2014' >>>> ssl.PROTOCOL_TLSv1_2 Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'module' object has no attribute 'PROTOCOL_TLSv1_2'
This is probably caused by the backport of the 2.7.9 SSL module, which newly exposed this constant (along with some others). I recommend checking all the constants in this document that were added in 2.7.9 to see if they got left out.