-
Steffen Prince authored
Resolves #477. In Python 2.7.9, we have new SSL interfaces, that are not quite the old Python 2 interfaces, nor the same as the Python 3 interfaces. This creates a new SSL module, _sslgte279.py, for Python 2 versions greater than or equal 2.7.9, ported from Python 2.7.9's ssl.py: https://hg.python.org/cpython/file/648dcafa7e5f/Lib/ssl.py. The process of porting was done by starting with gevent's ssl3.py and backporting Python 2.7.9's ssl.py. Fixes these tests under Python 2.7.9: - /usr/local/bin/python -u -m monkey_test --Event test_urllib2net.py - /usr/local/bin/python -u -m monkey_test test_urllib2net.py - /usr/local/bin/python -u test__ssl.py No new test failures. Still failing since 72119c8c: - /usr/local/bin/python -u -m monkey_test --Event test_ssl.py - /usr/local/bin/python -u -m monkey_test test_ssl.py - /usr/local/bin/python -u test__pywsgi.py - /usr/local/bin/python -u test__makefile_ref.py - /usr/local/bin/python -u test__socket.py - /usr/local/bin/python -u test___example_servers.py - /usr/local/bin/python -u -m monkey_test --Event test_ftplib.py - /usr/local/bin/python -u test__socket_ssl.py - /usr/local/bin/python -u -m monkey_test test_ftplib.py - /usr/local/bin/python -u test__all__.py In addition, basic HTTPS requests were tested with urllib3==1.10.2 and requests==2.6.0.
34d5a9a2