harvimt / quamash

Implementation of the PEP 3156 event-loop (asyncio) api using the Qt Event-Loop
BSD 2-Clause "Simplified" License
264 stars 46 forks source link

asyncio.create_task is not working #116

Open cosven opened 5 years ago

cosven commented 5 years ago

Python 3.7 add create_task function, it use _get_running_loop function to get event loop. However, we never the our QEventLoop as the running loop.

In asyncio event loops, they set running loop in run_forever.

Similar issue in asyncqt: https://github.com/gmarull/asyncqt/issues/3