示例#1
0
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
示例#2
0
def no_check(loop: asyncio.AbstractEventLoop):
    '''XXX not safe
    '''
    loop._check_closed = nop