Home
last modified time | relevance | path

Searched refs:CancelledError (Results 1 – 25 of 54) sorted by relevance

123

/external/python/cpython3/Lib/asyncio/
Dtasks.py211 if not isinstance(exc, futures.CancelledError):
212 exc = futures.CancelledError()
230 super().set_exception(futures.CancelledError())
233 except futures.CancelledError:
410 except futures.CancelledError:
679 exc = futures.CancelledError()
698 res = futures.CancelledError()
709 outer.set_exception(futures.CancelledError())
Dfutures.py18 CancelledError = base_futures.CancelledError variable
173 raise CancelledError
190 raise CancelledError
Dbase_futures.py9 CancelledError = concurrent.futures.CancelledError variable
Dlocks.py195 except futures.CancelledError:
366 except futures.CancelledError:
370 raise futures.CancelledError
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.errors.-cancelled-error.pbtxt1 path: "tensorflow.errors.CancelledError"
3 is_instance: "<class \'tensorflow.python.framework.errors_impl.CancelledError\'>"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.errors.-cancelled-error.pbtxt1 path: "tensorflow.errors.CancelledError"
3 is_instance: "<class \'tensorflow.python.framework.errors_impl.CancelledError\'>"
/external/python/cpython3/Doc/library/
Dasyncio-exceptions.rst20 .. exception:: CancelledError
37 # suppresses the CancelledError exception.
44 except asyncio.CancelledError:
Dasyncio-task.rst326 treated as if it raised :exc:`CancelledError` -- the ``gather()``
394 still raises a :exc:`CancelledError`.
405 except CancelledError:
664 will cause the Task to throw a :exc:`CancelledError` exception into
670 suppress the :exc:`CancelledError` exception and was actually
688 This arranges for a :exc:`CancelledError` exception to be thrown
693 ... ``except CancelledError`` ... :keyword:`finally` block.
710 except asyncio.CancelledError:
726 except asyncio.CancelledError:
744 :exc:`CancelledError` exception thrown into it.
[all …]
Dasyncio-api-index.rst208 * - :exc:`asyncio.CancelledError`
214 * :ref:`Handling CancelledError to run code on cancellation request
/external/python/cpython3/Lib/concurrent/futures/
D_base.py48 class CancelledError(Error): class
423 raise CancelledError()
430 raise CancelledError()
456 raise CancelledError()
463 raise CancelledError()
D__init__.py11 CancelledError,
/external/python/futures/concurrent/futures/
D_base.py50 class CancelledError(Error): class
453 raise CancelledError()
460 raise CancelledError()
486 raise CancelledError()
493 raise CancelledError()
D__init__.py11 CancelledError,
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_tasks.py302 self.assertRaises(asyncio.CancelledError,
447 with self.assertRaises(asyncio.CancelledError):
464 asyncio.CancelledError, self.loop.run_until_complete, t)
479 with self.assertRaises(asyncio.CancelledError):
497 with self.assertRaises(asyncio.CancelledError):
512 except asyncio.CancelledError:
536 except asyncio.CancelledError:
570 asyncio.CancelledError, loop.run_until_complete, t)
588 asyncio.CancelledError, loop.run_until_complete, t)
622 with self.assertRaises(asyncio.CancelledError):
[all …]
Dtest_runners.py124 except asyncio.CancelledError:
162 except asyncio.CancelledError:
Dtest_server.py53 with self.assertRaises(asyncio.CancelledError):
106 with self.assertRaises(asyncio.CancelledError):
Dtest_queues.py371 except asyncio.CancelledError:
402 except asyncio.CancelledError:
431 except asyncio.CancelledError:
542 with self.assertRaises(asyncio.CancelledError):
570 with self.assertRaises(asyncio.CancelledError):
Dtest_windows_events.py107 with self.assertRaises(asyncio.CancelledError):
153 with self.assertRaises(asyncio.CancelledError):
Dtest_subprocess.py346 except asyncio.CancelledError:
368 except asyncio.CancelledError:
386 except asyncio.CancelledError:
/external/tensorflow/tensorflow/python/framework/
Derrors_impl.py205 class CancelledError(OpError): class
221 super(CancelledError, self).__init__(node_def, op, message, CANCELLED)
483 CANCELLED: CancelledError,
/external/grpc-grpc/src/python/grpcio/grpc/framework/foundation/
Dfuture.py43 class CancelledError(Exception): class
/external/python/futures/
Dtest_futures.py700 self.assertRaises(futures.CancelledError,
702 self.assertRaises(futures.CancelledError,
731 self.assertRaises(futures.CancelledError, f1.result, timeout=5)
738 self.assertRaises(futures.CancelledError,
740 self.assertRaises(futures.CancelledError,
/external/tensorflow/tensorflow/contrib/training/python/training/
Dbucket_ops.py274 errors.CancelledError)))
285 errors.CancelledError)))
/external/tensorflow/tensorflow/python/tpu/
Derror_handling.py31 _UNINTERESTING_ERRORS = (errors.CancelledError,)
/external/grpc-grpc/src/python/grpcio/grpc/beta/
Dutilities.py44 raise future.CancelledError()

123