From: Menno Smits Date: Mon, 26 Oct 2015 23:09:25 +0000 (+1300) Subject: Indicate in docs that gevent_openssl 1.2 or later is recommended X-Git-Tag: 1.0.0~1^2~16 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=15e4351b5d8d7fe9972fe2b899001619de3be5c4;p=imapclient.git Indicate in docs that gevent_openssl 1.2 or later is recommended --- 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()