def _init_loop(): try: import uvloop except ImportError: return asyncio.get_event_loop() else: return uvloop.new_event_loop()