title: Gunicorn RecursionError with gevent and requests in python 3.6.2
body: <p>I have a simple flask script that uses requests to make http requests to third party web service. The way I run the script in gunicorn is</p>
  
  <p><code>gunicorn abc:APP -b 0.0.0.0:8080 -w 4 -k gevent --timeout 30 --preload</code></p>
  
  <p>However, after I upgrade the code to python 3.6.2, I can still run the server, but whenever the webserver received a request, it shows</p>
  
  <p><code>RecursionError: maximum recursion depth exceeded while calling a Python object</code></p>
  
  <p>on every worker, and the server seems are still running. When I change the running command to</p>
  
  <p><code>gunicorn abc:APP -b 0.0.0.0:8080 -w 4 --timeout 30 --preload</code></p>
  
  <p>It all works again. So is there any issue with gunicorn's async worker and requests in python 3.6.2? Is there a way to fix this?</p>
  
  <p>(This question is also asked at <a href="https://github.com/benoitc/gunicorn/issues/1559" rel="nofollow noreferrer">https://github.com/benoitc/gunicorn/issues/1559</a>)</p>