per page, with , order by , clip by
Results of 1 - 10 of about 25 for CancelledError (0.004 sec.)
Coroutines and tasks — Python 3.14.8 ドキュメント 13450
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Coroutines and tasks テーマ 自動 ライト ダーク | Coroutines and tasks ¶ ... on all kwargs . Task cancellation ¶ タスクは簡単に、そして安全にキャンセルできます。タスクがキャンセルされた場合、 asyncio.CancelledError が次の機会に送出されます。 It is recommended that coroutines use try/finally blocks to robustly perform clean-up logic. In ... case asyncio.CancelledError is explicitly caught, it should generally be propagated when clean-up is complete. asyncio.CancelledError directly subclas ... and asyncio.timeout() , are implemented using cancellation internally and might misbehave if a coroutine swallows asyncio.CancelledError . Similarly, user code should not generally call uncancel . However, in cases when suppressing asyncio.CancelledError is t ...
https://man.mtool.work/python/3.14/library/asyncio-task.html
Coroutines and tasks — Python 3.14.8 ドキュメント 13450
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Coroutines and tasks テーマ 自動 ライト ダーク | Coroutines and tasks ¶ ... on all kwargs . Task cancellation ¶ タスクは簡単に、そして安全にキャンセルできます。タスクがキャンセルされた場合、 asyncio.CancelledError が次の機会に送出されます。 It is recommended that coroutines use try/finally blocks to robustly perform clean-up logic. In ... case asyncio.CancelledError is explicitly caught, it should generally be propagated when clean-up is complete. asyncio.CancelledError directly subclas ... and asyncio.timeout() , are implemented using cancellation internally and might misbehave if a coroutine swallows asyncio.CancelledError . Similarly, user code should not generally call uncancel . However, in cases when suppressing asyncio.CancelledError is t ...
https://man.mtool.work/python/3.14/library/asyncio-task.html
例外 — Python 3.14.8 ドキュメント 9614
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » 例外 テーマ 自動 ライト ダーク | 例外 ¶ ソースコード: Lib/asyncio/excep ... imeoutError のエイリアス。 バージョン 3.11 で変更: このクラスは TimeoutError のエイリアスになりました。 exception asyncio. CancelledError ¶ 処理がキャンセルされました。 asyncio タスクがキャンセルされた場合の処理をカスタマイズするために、この例外を一旦キャッチす ... ることができます。 ほとんどの場合、キャッチした例外は再度送出しなければなりません。 バージョン 3.8 で変更: CancelledError は Exception ではなく BaseException のサブクラスになりました。 exception asyncio. InvalidStateError ¶ Task または Future の ... 未消費のバイトの合計数です。 関連キーワード asyncio exception 例外 TimeoutError クラス 場合 ストリーム エイリアス バージョン CancelledError キャンセル キャッチ Future 結果 派生 バイト ソースコード Lib exceptions py 前のトピックへ キュー 次のトピックへ Call graph ...
https://man.mtool.work/python/3.14/library/asyncio-exceptions.html
例外 — Python 3.14.8 ドキュメント 9614
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » 例外 テーマ 自動 ライト ダーク | 例外 ¶ ソースコード: Lib/asyncio/excep ... imeoutError のエイリアス。 バージョン 3.11 で変更: このクラスは TimeoutError のエイリアスになりました。 exception asyncio. CancelledError ¶ 処理がキャンセルされました。 asyncio タスクがキャンセルされた場合の処理をカスタマイズするために、この例外を一旦キャッチす ... ることができます。 ほとんどの場合、キャッチした例外は再度送出しなければなりません。 バージョン 3.8 で変更: CancelledError は Exception ではなく BaseException のサブクラスになりました。 exception asyncio. InvalidStateError ¶ Task または Future の ... ら送出されます。 consumed ¶ 未消費のバイトの合計数です。 関連キーワード asyncio exception TimeoutError ストリーム エイリアス CancelledError キャンセル キャッチ Future 派生 バイト ソースコード exceptions 操作 期限 非推奨 タスク カスタマイズ 再度 送出 Exception Ba ...
https://man.mtool.work/python/3.14/library/asyncio-exceptions.html
Future — Python 3.14.8 ドキュメント 8518
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Future テーマ 自動 ライト ダーク | Future ¶ ソースコード: Lib/asyncio/f ... ion() メソッドにより設定された例外を持っている場合はその例外を送出します。 Future が キャンセルされた 場合、このメソッドは CancelledError 例外を送出します。 If the Future's result isn't yet available, this method raises an InvalidStateError exception. set_resu ... 更した上でコールバックをスケジュールし、 True を返します。 The optional string argument msg is passed as the argument to the CancelledError exception raised when a cancelled Future is awaited. バージョン 3.9 で変更: Added the msg parameter. exception ( ) ¶ この ... 設定されていないときは None ) は Future が 完了 している場合のみ返されます。 Future が キャンセルされた 場合、このメソッドは CancelledError 例外を送出します。 Future が 未完了 の場合、このメソッドは InvalidStateError 例外を送出します。 get_loop ( ) ¶ Future オブ ...
https://man.mtool.work/python/3.14/library/asyncio-future.html
Future — Python 3.14.8 ドキュメント 8518
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Future テーマ 自動 ライト ダーク | Future ¶ ソースコード: Lib/asyncio/f ... ion() メソッドにより設定された例外を持っている場合はその例外を送出します。 Future が キャンセルされた 場合、このメソッドは CancelledError 例外を送出します。 If the Future's result isn't yet available, this method raises an InvalidStateError exception. set_resu ... 更した上でコールバックをスケジュールし、 True を返します。 The optional string argument msg is passed as the argument to the CancelledError exception raised when a cancelled Future is awaited. バージョン 3.9 で変更: Added the msg parameter. exception ( ) ¶ この ... 設定されていないときは None ) は Future が 完了 している場合のみ返されます。 Future が キャンセルされた 場合、このメソッドは CancelledError 例外を送出します。 Future が 未完了 の場合、このメソッドは InvalidStateError 例外を送出します。 get_loop ( ) ¶ Future オブ ...
https://man.mtool.work/python/3.14/library/asyncio-future.html
高水準の API インデックス — Python 3.14.8 ドキュメント 8302
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » 高水準の API インデックス テーマ 自動 ライト ダーク | 高水準の API イン ... の使用例 。 asyncio.Barrier を使う 。 asyncio の 同期プリミティブ についてのドキュメントも参照してください。 例外 ¶ asyncio.CancelledError タスクがキャンセルされた場合に送出されます。 Task.cancel() も参照してください。 asyncio.BrokenBarrierError バリアーが破壊さ ... れた場合に送出されます。 Barrier.wait() も参照してください。 使用例 CancelledError を処理してキャンセル要求に対応するコードを実行する . asyncio に特有な例外の完全なリスト も参照してください。 関連キーワード ...
https://man.mtool.work/python/3.14/library/asyncio-api-index.html
高水準の API インデックス — Python 3.14.8 ドキュメント 8302
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » 高水準の API インデックス テーマ 自動 ライト ダーク | 高水準の API イン ... の使用例 。 asyncio.Barrier を使う 。 asyncio の 同期プリミティブ についてのドキュメントも参照してください。 例外 ¶ asyncio.CancelledError タスクがキャンセルされた場合に送出されます。 Task.cancel() も参照してください。 asyncio.BrokenBarrierError バリアーが破壊さ ... れた場合に送出されます。 Barrier.wait() も参照してください。 使用例 CancelledError を処理してキャンセル要求に対応するコードを実行する . asyncio に特有な例外の完全なリスト も参照してください。 関連キーワード ...
https://man.mtool.work/python/3.14/library/asyncio-api-index.html
concurrent.futures --- 並列タスク実行 — Python 3.14.8 ドキュメント 8070
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » concurrent.futures --- 並列タスク実行 テーマ 自動 ライト ダーク | concurrent.futures --- 並列タスク実行 ¶ Added in versi ... 。もし timeout が指定されていないか、 None であれば、待機時間に制限はありません。 future が完了する前にキャンセルされた場合 CancelledError が送出されます。 If the call raised an exception, this method will raise the same exception. exception ( timeout = None ) ... ます。 timeout が指定されていないか、 None であれば、待機時間に制限はありません。 future が完了する前にキャンセルされた場合 CancelledError が送出されます。 呼び出しが例外を送出することなく完了した場合、 None を返します。 add_done_callback ( fn ) ¶ 呼び出し可能な ... s asynchronously この機能を Python 標準ライブラリに含めることを述べた提案です。 例外クラス ¶ exception concurrent.futures. CancelledError ¶ future がキャンセルされたときに送出されます。 exception concurrent.futures. TimeoutError ¶ A deprecated alias of Timeout ...
https://man.mtool.work/python/3.14/library/concurrent.futures.html
concurrent.futures --- 並列タスク実行 — Python 3.14.8 ドキュメント 8070
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » concurrent.futures --- 並列タスク実行 テーマ 自動 ライト ダーク | concurrent.futures --- 並列タスク実行 ¶ Added in versi ... 。もし timeout が指定されていないか、 None であれば、待機時間に制限はありません。 future が完了する前にキャンセルされた場合 CancelledError が送出されます。 If the call raised an exception, this method will raise the same exception. exception ( timeout = None ) ... ます。 timeout が指定されていないか、 None であれば、待機時間に制限はありません。 future が完了する前にキャンセルされた場合 CancelledError が送出されます。 呼び出しが例外を送出することなく完了した場合、 None を返します。 add_done_callback ( fn ) ¶ 呼び出し可能な ... s asynchronously この機能を Python 標準ライブラリに含めることを述べた提案です。 例外クラス ¶ exception concurrent.futures. CancelledError ¶ future がキャンセルされたときに送出されます。 exception concurrent.futures. TimeoutError ¶ A deprecated alias of Timeout ...
https://man.mtool.work/python/3.14/library/concurrent.futures.html
PREV 1 2 3 NEXT