Searched refs:create_future (Results 1 – 20 of 20) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_concurrent_futures.py | 27 def create_future(state=PENDING, exception=None, result=None): function 35 PENDING_FUTURE = create_future(state=PENDING) 36 RUNNING_FUTURE = create_future(state=RUNNING) 37 CANCELLED_FUTURE = create_future(state=CANCELLED) 38 CANCELLED_AND_NOTIFIED_FUTURE = create_future(state=CANCELLED_AND_NOTIFIED) 39 EXCEPTION_FUTURE = create_future(state=FINISHED, exception=OSError()) 40 SUCCESSFUL_FUTURE = create_future(state=FINISHED, result=42) 641 f1 = create_future(state=PENDING) 642 f2 = create_future(state=RUNNING) 643 f3 = create_future(state=CANCELLED) [all …]
|
/external/python/futures/ |
D | test_futures.py | 106 def create_future(state=PENDING, exception=None, result=None): function 114 PENDING_FUTURE = create_future(state=PENDING) 115 RUNNING_FUTURE = create_future(state=RUNNING) 116 CANCELLED_FUTURE = create_future(state=CANCELLED) 117 CANCELLED_AND_NOTIFIED_FUTURE = create_future(state=CANCELLED_AND_NOTIFIED) 118 EXCEPTION_FUTURE = create_future(state=FINISHED, exception=IOError()) 119 SUCCESSFUL_FUTURE = create_future(state=FINISHED, result=42) 646 f1 = create_future(state=PENDING) 647 f2 = create_future(state=RUNNING) 648 f3 = create_future(state=CANCELLED) [all …]
|
/external/python/cpython3/Lib/asyncio/ |
D | locks.py | 173 fut = self._loop.create_future() 261 fut = self._loop.create_future() 323 fut = self._loop.create_future() 442 fut = self._loop.create_future()
|
D | tasks.py | 335 waiter = loop.create_future() 368 waiter = loop.create_future() 471 future = loop.create_future() 582 outer = loop.create_future() 670 outer = loop.create_future()
|
D | queues.py | 130 putter = self._loop.create_future() 164 getter = self._loop.create_future()
|
D | base_events.py | 168 fut = loop.create_future() 228 waiter = self._loop.create_future() 273 def create_future(self): member in BaseEventLoop 818 waiter = self.create_future() 936 waiter = self.create_future() 1096 waiter = self.create_future() 1113 waiter = self.create_future()
|
D | selector_events.py | 219 waiter = self.create_future() 365 fut = self.create_future() 403 fut = self.create_future() 449 fut = self.create_future() 502 fut = self.create_future()
|
D | streams.py | 209 waiter = self._loop.create_future() 456 self._waiter = self._loop.create_future()
|
D | futures.py | 432 new_future = loop.create_future()
|
D | windows_events.py | 374 waiter = self.create_future() 425 fut = self._loop.create_future()
|
D | base_subprocess.py | 240 waiter = self._loop.create_future()
|
D | events.py | 275 def create_future(self): member in AbstractEventLoop
|
D | unix_events.py | 187 waiter = self.create_future()
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_base_events.py | 929 def __init__(self, create_future=False): argument 932 if create_future: 959 def __init__(self, create_future=False, loop=None): argument 962 if create_future: 1524 lambda: MyDatagramProto(create_future=True, loop=self.loop), 1573 lambda: MyDatagramProto(create_future=True, loop=self.loop), 1603 lambda: MyDatagramProto(create_future=True, loop=self.loop),
|
D | test_selector_events.py | 387 resolved = self.loop.create_future() 416 resolved = self.loop.create_future()
|
D | test_tasks.py | 93 self.loop.create_future = lambda: self.new_future(self.loop)
|
/external/python/cpython3/Doc/library/ |
D | asyncio-eventloop.rst | 213 .. method:: AbstractEventLoop.create_future()
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.6.rst | 843 * New :meth:`loop.create_future() <asyncio.BaseEventLoop.create_future>`
|
D | 3.5.rst | 843 * New :meth:`loop.create_future() <asyncio.BaseEventLoop.create_future>`
|
/external/python/cpython3/Misc/ |
D | NEWS | 3205 - Issue #27041: asyncio: Add loop.create_future method 4736 - Issue #27041: asyncio: Add loop.create_future method
|