Exemplo n.º 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
Exemplo n.º 2
0
def no_check(loop: asyncio.AbstractEventLoop):
    '''XXX not safe
    '''
    loop._check_closed = nop