Change _async to base_async

This commit is contained in:
Diego Oliveira 2018-05-26 17:11:33 -03:00
parent 43e31c366b
commit 5a82e7c068
4 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ Changelog
19.9.0 / 2018/05/26
===================
- the internal module `gunicorn.workers.async` was renamed to `gunicorn.workers.async`
- the internal module `gunicorn.workers.async` was renamed to `gunicorn.workers.base_async`
since ``async`` is now a reserved word in Python 3.7
(:pr:`1527`)

View File

@ -24,7 +24,7 @@ from eventlet.wsgi import ALREADY_HANDLED as EVENTLET_ALREADY_HANDLED
import greenlet
from gunicorn.http.wsgi import sendfile as o_sendfile
from gunicorn.workers._async import AsyncWorker
from gunicorn.workers.base_async import AsyncWorker
def _eventlet_sendfile(fdout, fdin, offset, nbytes):
while True:

View File

@ -27,7 +27,7 @@ from gevent import pywsgi
import gunicorn
from gunicorn.http.wsgi import base_environ
from gunicorn.workers._async import AsyncWorker
from gunicorn.workers.base_async import AsyncWorker
from gunicorn.http.wsgi import sendfile as o_sendfile
VERSION = "gevent/%s gunicorn/%s" % (gevent.__version__, gunicorn.__version__)