Asyncio Event Loop está cerrado
Al intentar ejecutar el ejemplo de código de asyncio hello world que se proporciona en los documentos:
import asyncio
async def hello_world():
print("Hello World!")
loop = asyncio.get_event_loop()
# Blocking call which returns when the hello_world() coroutine is done
loop.run_until_complete(hello_world())
loop.close()
Me sale el error:
RuntimeError: Event loop is closed
Estoy usando python 3.5.3.