Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

From early on in the article

> asyncio.get_event_loop() returns the thread bound event loop, it does not return the currently running event loop.

How can these be different objects? In order to ask for the thread-bound event loop, you must be in the thread, right? When/why would you expect anything else?

fyi, I don't have any background with asyncio/twisted.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: