Searched refs:InvalidStateError (Results 1 – 15 of 15) sorted by relevance
/external/python/cpython3/Lib/asyncio/ |
D | futures.py | 198 raise exceptions.InvalidStateError('Result is not ready.') 216 raise exceptions.InvalidStateError('Exception is not set.') 258 raise exceptions.InvalidStateError(f'{self._state}: {self!r}') 270 raise exceptions.InvalidStateError(f'{self._state}: {self!r}') 321 elif exc_class is concurrent.futures.InvalidStateError: 322 return exceptions.InvalidStateError(*exc.args)
|
D | exceptions.py | 17 class InvalidStateError(Exception): class
|
D | tasks.py | 241 raise exceptions.InvalidStateError(
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_futures.py | 157 self.assertRaises(asyncio.InvalidStateError, fut.result) 160 self.assertRaises(asyncio.InvalidStateError, fut.exception) 232 self.assertRaises(asyncio.InvalidStateError, f.set_result, None) 233 self.assertRaises(asyncio.InvalidStateError, f.set_exception, None) 238 self.assertRaises(asyncio.InvalidStateError, f.result) 245 self.assertRaises(asyncio.InvalidStateError, f.set_result, None) 246 self.assertRaises(asyncio.InvalidStateError, f.set_exception, None) 252 self.assertRaises(asyncio.InvalidStateError, f.exception) 263 self.assertRaises(asyncio.InvalidStateError, f.set_result, None) 264 self.assertRaises(asyncio.InvalidStateError, f.set_exception, None)
|
D | test_tasks.py | 2873 with self.assertRaisesRegex(asyncio.InvalidStateError, 2899 with self.assertRaisesRegex(asyncio.InvalidStateError,
|
/external/python/cpython3/Doc/library/ |
D | asyncio-future.rst | 107 a :exc:`InvalidStateError` exception. 113 Raises a :exc:`InvalidStateError` error if the Future is 120 Raises a :exc:`InvalidStateError` error if the Future is 195 :exc:`InvalidStateError` exception. 251 raise an :exc:`InvalidStateError` exception when the Future is not
|
D | asyncio-exceptions.rst | 36 .. exception:: InvalidStateError
|
D | concurrent.futures.rst | 416 :exc:`concurrent.futures.InvalidStateError` if the :class:`Future` is 429 :exc:`concurrent.futures.InvalidStateError` if the :class:`Future` is 510 .. exception:: InvalidStateError
|
D | asyncio-task.rst | 878 a :exc:`InvalidStateError` exception. 892 :exc:`InvalidStateError` exception.
|
/external/python/cpython3/Lib/concurrent/futures/ |
D | __init__.py | 13 InvalidStateError,
|
D | _base.py | 57 class InvalidStateError(Error): class 525 raise InvalidStateError('{}: {!r}'.format(self._state, self)) 540 raise InvalidStateError('{}: {!r}'.format(self._state, self))
|
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/ |
D | History.md | 47 …* [Throw InvalidStateError when calling play() on reversed infinite animation.](https://github.com…
|
/external/python/cpython3/Lib/test/ |
D | test_concurrent_futures.py | 1473 futures.InvalidStateError, 1488 futures.InvalidStateError,
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.8.0b1.rst | 721 asyncio.InvalidStateError from their concurrent.futures.* counterparts.
|
D | 3.8.0a1.rst | 3274 Create a dedicated ``asyncio.CancelledError``, ``asyncio.InvalidStateError`` 4556 Add ``InvalidStateError`` to :mod:`concurrent.futures`. 4558 ``InvalidStateError`` if the futures are not pending or running. Patch by
|