On 20 May 2016, at 12:22, Guido van Rossum email@example.com wrote:
OK, I finally see the point. There are legitimate situations where get_event_loop() returns None (this is how most of asyncio's tests are running).
Unless there are tests that expect that get_event_loop() would return None when called from within coroutine it should be fine.
So we want a separate function, e.g. get_current_event_loop(). Send a PR to the GitHub project.
Should we continue discussion of implementation here or in that issue?