Re: [Tutor] asyncio and wsgiref problem

2017-11-08 Thread Etienne Robillard
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

Re: [Tutor] Visual Studio issue when pip installing mysql-python

2017-11-08 Thread Mats Wichmann
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

[Tutor] Visual Studio issue when pip installing mysql-python

2017-11-08 Thread Mike Nickey
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

[Tutor] asyncio and wsgiref problem

2017-11-08 Thread Etienne Robillard
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