per page, with , order by , clip by
Results of 1 - 10 of about 34 for TimeoutError (0.010 sec.)
Coroutines and tasks — Python 3.14.8 ドキュメント 12190
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Coroutines and tasks テーマ 自動 ライト ダーク | Coroutines and tasks ¶ ... xt manager will cancel the current task and handle the resulting asyncio.CancelledError internally, transforming it into a TimeoutError which can be caught and handled. 注釈 The asyncio.timeout() context manager is what transforms the asyncio.CancelledError ... into a TimeoutError , which means the TimeoutError can only be caught outside of the context manager. Example of catching TimeoutError : async ... def main (): try : async with asyncio . timeout ( 10 ): await long_running_task () except TimeoutError : print ( "The long operation timed out, but we've handled it." ) print ( "This statement will run regardless." ) The cont ...
https://man.mtool.work/python/3.14/library/asyncio-task.html
Coroutines and tasks — Python 3.14.8 ドキュメント 12190
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Coroutines and tasks テーマ 自動 ライト ダーク | Coroutines and tasks ¶ ... xt manager will cancel the current task and handle the resulting asyncio.CancelledError internally, transforming it into a TimeoutError which can be caught and handled. 注釈 The asyncio.timeout() context manager is what transforms the asyncio.CancelledError ... into a TimeoutError , which means the TimeoutError can only be caught outside of the context manager. Example of catching TimeoutError : async ... def main (): try : async with asyncio . timeout ( 10 ): await long_running_task () except TimeoutError : print ( "The long operation timed out, but we've handled it." ) print ( "This statement will run regardless." ) The cont ...
https://man.mtool.work/python/3.14/library/asyncio-task.html
例外 — Python 3.14.8 ドキュメント 11567
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » 例外 テーマ 自動 ライト ダーク | 例外 ¶ ソースコード: Lib/asyncio/excep ... tions.py exception asyncio. TimeoutError ¶ 操作が指定された期限を超えたときに送出される、非推奨な TimeoutError のエイリアス。 バージョン 3.11 で変更: このクラスは ... た。 asyncio ストリーム API から送出されます。 consumed ¶ 未消費のバイトの合計数です。 関連キーワード asyncio exception 例外 TimeoutError クラス 場合 ストリーム エイリアス バージョン CancelledError キャンセル キャッチ Future 結果 派生 バイト ソースコード Lib e ...
https://man.mtool.work/python/3.14/library/asyncio-exceptions.html
例外 — Python 3.14.8 ドキュメント 11423
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » 例外 テーマ 自動 ライト ダーク | 例外 ¶ ソースコード: Lib/asyncio/excep ... tions.py exception asyncio. TimeoutError ¶ 操作が指定された期限を超えたときに送出される、非推奨な TimeoutError のエイリアス。 バージョン 3.11 で変更: このクラスは ... ました。 asyncio ストリーム API から送出されます。 consumed ¶ 未消費のバイトの合計数です。 関連キーワード asyncio exception TimeoutError ストリーム エイリアス CancelledError キャンセル キャッチ Future 派生 バイト ソースコード exceptions 操作 期限 非推奨 タスク ...
https://man.mtool.work/python/3.14/library/asyncio-exceptions.html
concurrent.futures --- 並列タスク実行 — Python 3.14.8 ドキュメント 10033
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » concurrent.futures --- 並列タスク実行 テーマ 自動 ライト ダーク | concurrent.futures --- 並列タスク実行 ¶ Added in versi ... next__() が呼ばれその結果が元々の Executor.map() の呼び出しから timeout 秒経った後も利用できない場合、返されるイテレータは TimeoutError を送出します。 timeout は整数または浮動小数点数です。もし timeout が指定されないか の場合、待ち時間に制限はありません。 も ... び出しがまだ完了していなければ、このメソッドは timeout 秒の間、待機します。もし呼び出しが timeout 秒間の間に完了しなければ、 TimeoutError が送出されます。 timeout はintかfloatを指定できます。もし timeout が指定されていないか、 None であれば、待機時間に制限はあ ... 呼び出しがまだ完了されていなければ、このメソッドは timeout 秒だけ待機します。もし呼び出しが timeout 秒の間に完了しなければ、 TimeoutError が送出されます。 timeout にはintかfloatを指定できます。 timeout が指定されていないか、 None であれば、待機時間に制限はあり ...
https://man.mtool.work/python/3.14/library/concurrent.futures.html
concurrent.futures --- 並列タスク実行 — Python 3.14.8 ドキュメント 10033
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » concurrent.futures --- 並列タスク実行 テーマ 自動 ライト ダーク | concurrent.futures --- 並列タスク実行 ¶ Added in versi ... next__() が呼ばれその結果が元々の Executor.map() の呼び出しから timeout 秒経った後も利用できない場合、返されるイテレータは TimeoutError を送出します。 timeout は整数または浮動小数点数です。もし timeout が指定されないか の場合、待ち時間に制限はありません。 も ... び出しがまだ完了していなければ、このメソッドは timeout 秒の間、待機します。もし呼び出しが timeout 秒間の間に完了しなければ、 TimeoutError が送出されます。 timeout はintかfloatを指定できます。もし timeout が指定されていないか、 None であれば、待機時間に制限はあ ... 呼び出しがまだ完了されていなければ、このメソッドは timeout 秒だけ待機します。もし呼び出しが timeout 秒の間に完了しなければ、 TimeoutError が送出されます。 timeout にはintかfloatを指定できます。 timeout が指定されていないか、 None であれば、待機時間に制限はあり ...
https://man.mtool.work/python/3.14/library/concurrent.futures.html
multiprocessing --- プロセスベースの並列処理 — Python 3.14.8 ドキュメント 8484
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » multiprocessing --- プロセスベースの並列処理 テーマ 自動 ライト ダーク | multiprocessing --- プロセスベースの並列処理 ¶ ... 、異なる方法でワーカープロセスへタスクを割り当てるいくつかのメソッドがあります。 例えば: from multiprocessing import Pool , TimeoutError import time import os def f ( x ): return x * x if __name__ == '__main__' : # start 4 worker processes with Pool ( process ... er sleep for 10 seconds res = pool . apply_async ( time . sleep , ( 10 ,)) try : print ( res . get ( timeout = 1 )) except TimeoutError : print ( "We lacked patience and got a multiprocessing.TimeoutError" ) print ( "For the moment, the pool remains availabl ... のです。 exception multiprocessing. AuthenticationError ¶ 認証エラーがあった場合に送出されます。 exception multiprocessing. TimeoutError ¶ タイムアウトをサポートするメソッドでタイムアウトが過ぎたときに送出されます。 パイプ (Pipe) とキュー (Queue) ¶ 複数のプロ ...
https://man.mtool.work/python/3.14/library/multiprocessing.html
multiprocessing --- プロセスベースの並列処理 — Python 3.14.8 ドキュメント 8484
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » multiprocessing --- プロセスベースの並列処理 テーマ 自動 ライト ダーク | multiprocessing --- プロセスベースの並列処理 ¶ ... 、異なる方法でワーカープロセスへタスクを割り当てるいくつかのメソッドがあります。 例えば: from multiprocessing import Pool , TimeoutError import time import os def f ( x ): return x * x if __name__ == '__main__' : # start 4 worker processes with Pool ( process ... er sleep for 10 seconds res = pool . apply_async ( time . sleep , ( 10 ,)) try : print ( res . get ( timeout = 1 )) except TimeoutError : print ( "We lacked patience and got a multiprocessing.TimeoutError" ) print ( "For the moment, the pool remains availabl ... のです。 exception multiprocessing. AuthenticationError ¶ 認証エラーがあった場合に送出されます。 exception multiprocessing. TimeoutError ¶ タイムアウトをサポートするメソッドでタイムアウトが過ぎたときに送出されます。 パイプ (Pipe) とキュー (Queue) ¶ 複数のプロ ...
https://man.mtool.work/python/3.14/library/multiprocessing.html
例外処理 — Python 3.14.8 ドキュメント 7701
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 例外処理 テーマ 自動 ライト ダーク | 例外処理 ¶ この章で説明する関数を使うと、 Python の例外の処理や例外の送出ができるようになりま ... t ¶ 次に属します: Stable ABI . SystemExit PyObject * PyExc_TabError ¶ 次に属します: Stable ABI . TabError PyObject * PyExc_TimeoutError ¶ 次に属します: Stable ABI (バージョン 3.7 より). TimeoutError PyObject * PyExc_TypeError ¶ 次に属します: Stable ABI . Typ ... Error 、 PyExc_IsADirectoryError 、 PyExc_NotADirectoryError 、 PyExc_PermissionError 、 PyExc_ProcessLookupError 、 PyExc_TimeoutError は PEP 3151 により導入されました。 Added in version 3.5: PyExc_StopAsyncIteration および PyExc_RecursionError 。 Added in ...
https://man.mtool.work/python/3.14/c-api/exceptions.html
例外処理 — Python 3.14.8 ドキュメント 7701
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 例外処理 テーマ 自動 ライト ダーク | 例外処理 ¶ この章で説明する関数を使うと、 Python の例外の処理や例外の送出ができるようになりま ... t ¶ 次に属します: Stable ABI . SystemExit PyObject * PyExc_TabError ¶ 次に属します: Stable ABI . TabError PyObject * PyExc_TimeoutError ¶ 次に属します: Stable ABI (バージョン 3.7 より). TimeoutError PyObject * PyExc_TypeError ¶ 次に属します: Stable ABI . Typ ... Error 、 PyExc_IsADirectoryError 、 PyExc_NotADirectoryError 、 PyExc_PermissionError 、 PyExc_ProcessLookupError 、 PyExc_TimeoutError は PEP 3151 により導入されました。 Added in version 3.5: PyExc_StopAsyncIteration および PyExc_RecursionError 。 Added in ...
https://man.mtool.work/python/3.14/c-api/exceptions.html
PREV 1 2 3 4 NEXT