Home
last modified time | relevance | path

Searched refs:CANCELLED_AND_NOTIFIED (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Lib/concurrent/futures/
D_base.py23 CANCELLED_AND_NOTIFIED = 'CANCELLED_AND_NOTIFIED' variable
30 CANCELLED_AND_NOTIFIED,
38 CANCELLED_AND_NOTIFIED: "cancelled",
164 f._state not in [CANCELLED_AND_NOTIFIED, FINISHED] for f in fs)
227 if f._state in [CANCELLED_AND_NOTIFIED, FINISHED])
293 if f._state in [CANCELLED_AND_NOTIFIED, FINISHED]}
364 if self._state in [CANCELLED, CANCELLED_AND_NOTIFIED]:
376 return self._state in [CANCELLED, CANCELLED_AND_NOTIFIED]
386 return self._state in [CANCELLED, CANCELLED_AND_NOTIFIED, FINISHED]
410 if self._state not in [CANCELLED, CANCELLED_AND_NOTIFIED, FINISHED]:
[all …]
/third_party/python/Lib/test/
Dtest_concurrent_futures.py26 PENDING, RUNNING, CANCELLED, CANCELLED_AND_NOTIFIED, FINISHED, Future,
46 CANCELLED_AND_NOTIFIED_FUTURE = create_future(state=CANCELLED_AND_NOTIFIED)
765 futures_list.append(create_future(state=CANCELLED_AND_NOTIFIED))
1395 f4 = create_future(state=CANCELLED_AND_NOTIFIED)
1409 self.assertEqual(f4._state, CANCELLED_AND_NOTIFIED)