Lines Matching refs:will
41 raises an exception then that exception will be raised when its value is
48 :meth:`Executor.submit` and :meth:`Executor.map` made after shutdown will
51 If *wait* is `True` then this method will not return until all the pending
53 have been freed. If *wait* is `False` then this method will return
54 immediately and the resources associated with the executor will be freed
56 *wait*, the entire Python program will not exit until all pending futures
60 statement, which will shutdown the `Executor` (waiting as if
87 print(b.result()) # b will never complete because it is waiting on a.
92 print(a.result()) # a will never complete because it is waiting on b.
106 # This will never complete because there is only one worker thread and
157 to a :class:`ProcessPoolExecutor` will result in deadlock.
163 processes will be created as the machine has processors.
208 it cannot be cancelled and the method will return `False`, otherwise the call
209 will be cancelled and the method will return `True`.
227 this method will wait up to *timeout* seconds. If the call hasn't completed
228 in *timeout* seconds then a :exc:`TimeoutError` will be raised. *timeout* can
232 If the future is cancelled before completing then :exc:`CancelledError` will
235 If the call raised then this method will raise the same exception.
240 then this method will wait up to *timeout* seconds. If the call hasn't
241 completed in *timeout* seconds then a :exc:`TimeoutError` will be raised.
245 If the future is cancelled before completing then :exc:`CancelledError` will
252 Attaches the callable *fn* to the future. *fn* will be called, with the
258 raises an :exc:`Exception` then it will be logged and ignored. If the
262 If the future has already completed or been cancelled then *fn* will be
279 :func:`wait`) will be woken up.
283 :meth:`Future.running` will return `True`.
323 | :const:`FIRST_COMPLETED` | The function will return when any |
326 | :const:`FIRST_EXCEPTION` | The function will return when any |
332 | :const:`ALL_COMPLETED` | The function will return when all |
341 are duplicated will be returned once. Any futures that completed
342 before :func:`as_completed` is called will be yielded first. The returned