This code is compatible with PEP- on Python 3.5.3:
@asyncio.coroutine
def app(environ, start_response):
try:
result = (yield from AsyncIOController().application(environ,
start_response))
except:
raise
else:
#XXX result is a generator. this should not be
On 11/08/2017 01:59 PM, Mike Nickey wrote:
> Hi all,
>
> I understand that this might be out of the scope of this list but I am
> hopeful that someone has some insight on it so I can move forward with this
> project. This is a hail mary attempt to get this resolved.
>
> The issue that I am seeing
Hi all,
I understand that this might be out of the scope of this list but I am
hopeful that someone has some insight on it so I can move forward with this
project. This is a hail mary attempt to get this resolved.
The issue that I am seeing is that I have a script that works well locally.
I am tr
Hi,
I'm trying to implement the asyncio.coroutine decorator in my wsgi app.
Here's my server code:
class AsyncIOController(WSGIController):
def __init__(self, settings=None, executor=None, loop=None
):
super(AsyncIOController, self).__init__(settings)
# asyncio confi