From 15e4351b5d8d7fe9972fe2b899001619de3be5c4 Mon Sep 17 00:00:00 2001 From: Menno Smits Date: Tue, 27 Oct 2015 12:09:25 +1300 Subject: [PATCH] Indicate in docs that gevent_openssl 1.2 or later is recommended --- doc/src/index.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/src/index.rst b/doc/src/index.rst index 09c3b4e..919436d 100644 --- a/doc/src/index.rst +++ b/doc/src/index.rst @@ -186,10 +186,12 @@ the Python 3 :py:mod:`ssl` package documentation for further options. Using gevent with IMAPClient ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Some extra monkey patching is required to let gevent_ work with -pyOpenSSL (used by IMAPClient for TLS support). The `gevent_openssl`_ -package performs this patching and can be used with IMAPClient like -this:: +Some extra monkey patching is required so that the gevent_ package can +work with pyOpenSSL (used by IMAPClient for TLS support). The +`gevent_openssl`_ package performs this patching. Please use +gevent_openssl 1.2 or later. + +Here's an example of how gevent_openssl can be used with IMAPClient:: from gevent import monkey; monkey.patch_all() import gevent_openssl; gevent_openssl.monkey_patch() -- 2.43.0