def no_check(loop: asyncio.AbstractEventLoop): '''XXX not safe! we override a private method of event-loop to avoid raising exception after keyboardInterrupte. ''' loop._check_closed = nop
def no_check(loop: asyncio.AbstractEventLoop): '''XXX not safe ''' loop._check_closed = nop