Lines Matching defs:asyncio
3 import asyncio
10 from asyncio import base_events
11 from asyncio import constants
25 asyncio.set_event_loop_policy(None)
28 class MySendfileProto(asyncio.Protocol):
70 class MyProto(asyncio.Protocol):
300 asyncio.DatagramProtocol,
343 if isinstance(self.loop, asyncio.ProactorEventLoop):
354 with self.assertRaisesRegex(asyncio.SendfileNotAvailableError,
543 return asyncio.SelectorEventLoop()
549 return asyncio.ProactorEventLoop()
559 return asyncio.SelectorEventLoop(
567 return asyncio.SelectorEventLoop(selectors.EpollSelector())
574 return asyncio.SelectorEventLoop(selectors.PollSelector())
581 return asyncio.SelectorEventLoop(selectors.SelectSelector())