> Does setting PYTHONASYNCIODEBUG=1 complain about these mistakes? 

No it doesn't, unless the other loop is also running but that's only 
because `asyncio.sleep` calls `future._loop.call_later` before yielding the 
future.
`_check_thread` checks that `call_soon` and `call_at` are not called from a 
different thread, but nothing prevents `Task._wakeup` to be scheduled in a 
different loop that `Task._loop`. 

/Vincent

Reply via email to