[pypy-issue] Issue #2013: PyPy 2.5.1 missing some SSL constants (pypy/pypy)
issues-reply at bitbucket.org
Fri Mar 27 12:28:36 CET 2015
New issue 2013: PyPy 2.5.1 missing some SSL constants
Per [this gist](https://gist.github.com/Lukasa/c5c304a4c355d6f49035):
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
'OpenSSL 1.0.1i 6 Aug 2014'
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](https://docs.python.org/2/library/ssl.html) that were added in 2.7.9 to see if they got left out.
More information about the pypy-issue