Author: Ronan Lamy <[email protected]>
Branch: py3.6
Changeset: r94390:d3ea363d17b6
Date: 2018-04-20 03:32 +0100
http://bitbucket.org/pypy/pypy/changeset/d3ea363d17b6/

Log:    Skip import of SSLSession in ssl (to unbreak pip)

diff --git a/lib-python/3/ssl.py b/lib-python/3/ssl.py
--- a/lib-python/3/ssl.py
+++ b/lib-python/3/ssl.py
@@ -100,7 +100,7 @@
 import _ssl             # if we can't import it, let the error propagate
 
 from _ssl import OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_INFO, OPENSSL_VERSION
-from _ssl import _SSLContext, MemoryBIO, SSLSession
+from _ssl import _SSLContext, MemoryBIO#, SSLSession  # XXX: PyPy hack
 from _ssl import (
     SSLError, SSLZeroReturnError, SSLWantReadError, SSLWantWriteError,
     SSLSyscallError, SSLEOFError,
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to